From: Rafael J. Wysocki Date: Sun, 30 Jun 2013 21:46:42 +0000 (+0200) Subject: ACPI / dock: Walk list in reverse order during removal of devices X-Git-Tag: v3.12-rc1~178^2~17^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37f908778f20bbcc35ab9a98a5b584329c6abf08;p=pandora-kernel.git ACPI / dock: Walk list in reverse order during removal of devices If there are indirect dependencies between devices in a dock station's dependent devices list, they may be broken if the devices are removed in the same order in which they have been added. For this reason, make the code in handle_eject_request() walk the list of dependent devices in reverse order. Signed-off-by: Rafael J. Wysocki Acked-by: Yinghai Lu --- Reading git-diff-tree failed