From: Rafael J. Wysocki Date: Fri, 30 Aug 2013 12:19:29 +0000 (+0200) Subject: ACPI / scan: Change ordering of locks for device hotplug X-Git-Tag: v3.12-rc1~35^2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0ae8fee0e11c1a8e9b45ab14ab5fe58d87f031d;p=pandora-kernel.git ACPI / scan: Change ordering of locks for device hotplug Change the ordering of device hotplug locks in scan.c so that acpi_scan_lock is always acquired after device_hotplug_lock. This will make it possible to use device_hotplug_lock around some code paths that acquire acpi_scan_lock safely (most importantly system suspend and hibernation). Apart from that, acpi_scan_lock is platform-specific and device_hotplug_lock is general, so the new ordering appears to be more appropriate from the overall design viewpoint. Signed-off-by: Rafael J. Wysocki Acked-by: Toshi Kani --- Reading git-diff-tree failed