ACPI / thermal: Remove the unused lock of struct acpi_thermal
authorLan Tianyu <tianyu.lan@intel.com>
Wed, 14 Aug 2013 13:00:37 +0000 (21:00 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Aug 2013 21:23:57 +0000 (23:23 +0200)
commit8a6036b92620a4ea0a1285d5c134ac9610ff4b32
tree8f5e85682caef062cfa228ee5b808587ba841d1c
parentf3ce717e60572421f56d89c9a85ac42e634d16e7
ACPI / thermal: Remove the unused lock of struct acpi_thermal

The acpi_thermal->lock now just is initialized when a thermal zone
device is added and destroyed when the thermal zone is removed.
It is never used in any other places, so remove it.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/thermal.c