]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI: Remove unused lockable in acpi_device_flags
authorToshi Kani <toshi.kani@hp.com>
Fri, 26 Oct 2012 11:39:06 +0000 (13:39 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 26 Oct 2012 11:39:06 +0000 (13:39 +0200)
commitf80e1cc27f5f7d008bef974b890f0d043348bbcf
tree228151bac1e36417386dd2fcbcf9109d0868293a
parent7cf5f54241e7a30c66b613b4306fce4b13cffbb4
ACPI: Remove unused lockable in acpi_device_flags

Removed lockable in struct acpi_device_flags since it is no
longer used by any code. acpi_bus_hot_remove_device() cannot
use this flag because acpi_bus_trim() frees up its acpi_device
object. Furthermore, the dock driver calls _LCK method without
using this lockable flag.

Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c
include/acpi/acpi_bus.h