commit | 4ec24065a65b4debfdeb591cc01a4aa092651f53 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sun Jun 30 23:47:14 2013 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jul 15 01:33:11 2013 +0200 |
tree | aa21b3a9df792b568c0fef3b809e33b2232960c1 | |
parent | 37f908778f20bbcc35ab9a98a5b584329c6abf08 [diff] |
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 <rafael.j.wysocki@intel.com> Acked-by: Yinghai Lu <yinghai@kernel.org>