From: Rafael J. Wysocki Date: Sun, 30 Jun 2013 21:47:14 +0000 (+0200) Subject: ACPI / dock: Simplify dock_init_hotplug() and dock_release_hotplug() X-Git-Tag: v3.12-rc1~178^2~17^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ec24065a65b4debfdeb591cc01a4aa092651f53;p=pandora-kernel.git ACPI / dock: Simplify dock_init_hotplug() and dock_release_hotplug() Make dock_init_hotplug() and dock_release_hotplug() slightly simpler and move some checks in those functions to the code paths where they are needed. Signed-off-by: Rafael J. Wysocki Acked-by: Yinghai Lu --- Reading git-diff-tree failed