From: Jiang Liu <jiang.liu@xxxxxxxxxx> This is an following up patchset of "[PATCH 0/3] ACPI / dock / PCI: Fix problems with dock and PCI hotplug" with minor code cleanups and refinements. It applies to git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next Due to hardware resource limitation, I have only done compilation and boot tests. V2->V3: The first four patches are the same as previous version and rework all other patches according to review comments. Jiang Liu (10): ACPI, DOCK: avoid initializing acpi_dock_notifier_list multiple times ACPI, DOCK: kill redundant spin lock in dock station object ACPI, DOCK: mark initialization functions with __init ACPI, DOCK: simplify implementation of dock_create_acpi_device() ACPI: introduce helper function acpi_has_method() ACPI: introduce helper function acpi_execute_simple_method() ACPI: introduce two helper functions to simplify code ACPI: change acpi_[bay|dock]_match() in scan.c as global functions ACPI: simplify dock driver with new helper functions ACPI: simplify acpiphp driver with new helper functions drivers/acpi/battery.c | 19 +--- drivers/acpi/bus.c | 6 +- drivers/acpi/dock.c | 152 ++++------------------------- drivers/acpi/ec.c | 4 +- drivers/acpi/power.c | 4 +- drivers/acpi/processor_perflib.c | 22 ++--- drivers/acpi/resource.c | 4 +- drivers/acpi/scan.c | 189 +++++++++++++------------------------ drivers/acpi/sleep.c | 7 +- drivers/acpi/thermal.c | 18 +--- drivers/acpi/utils.c | 70 ++++++++++++++ drivers/acpi/video.c | 56 ++++------- drivers/acpi/video_detect.c | 19 ++-- drivers/pci/hotplug/acpiphp_glue.c | 30 ++---- include/acpi/acpi_bus.h | 10 ++ 15 files changed, 218 insertions(+), 392 deletions(-) -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html