]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI: Remove unused lockable in acpi_device_flags
authorToshi Kani <toshi.kani@hp.com>
Mon, 22 Oct 2012 23:31:53 +0000 (01:31 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:31:53 +0000 (01:31 +0200)
commit5cf38dd268949fa491c78f2b8f9bdb15a53186ea
treec673d60d612182587b8832d2f2180e95b7b44d13
parent0e4a4a2bcbd14de70f71f7ca1fa8ec376161dc8f
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