ACPI / dock: Drop the hp_lock mutex from struct dock_station
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 30 Jun 2013 21:42:51 +0000 (23:42 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 14 Jul 2013 23:33:10 +0000 (01:33 +0200)
commitd460acebd7959cc91e7edc594d90adb9b72a0b05
tree74701e2151eb83d1cef064e590aa0027fa5cf7e0
parentecd046da57d3327367b930478234e58f01bc9f0f
ACPI / dock: Drop the hp_lock mutex from struct dock_station

The only existing user of the hp_lock mutex in struct dock_station,
hotplug_dock_devices(), is always called under acpi_scan_lock and
cannot race with another instance of itself, so drop the mutex
which is not necessary.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dock.c