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>
Wed, 14 Nov 2012 23:16:02 +0000 (00:16 +0100)
commitf4fa0e018a175ea92a3187ade8f678599dc5980a
treeaa144f347b1a38588edbae39d1c8a00e5de792b6
parentb3c450c38075f414077e58439cff6bdce9e47df8
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