From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiang Liu Subject: [PATCH v3 00/10] minor improvements for ACPI dock and acpiphp drivers Date: Sat, 29 Jun 2013 00:24:33 +0800 Message-ID: <1372436683-31711-1-git-send-email-liuj97@gmail.com> Return-path: Received: from mail-pb0-f41.google.com ([209.85.160.41]:37577 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753912Ab3F1Q1D (ORCPT ); Fri, 28 Jun 2013 12:27:03 -0400 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J . Wysocki" Cc: liuj97@gmail.com, Jiang Liu , Yijing Wang , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org From: Jiang Liu 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