ACPI: simplify acpiphp driver with new helper functions
authorJiang Liu <jiang.liu@huawei.com>
Fri, 28 Jun 2013 16:24:43 +0000 (00:24 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 14 Jul 2013 23:33:10 +0000 (01:33 +0200)
commitecd046da57d3327367b930478234e58f01bc9f0f
tree2017b0ff08071275e4d9f05ea988b3f0eac0a9da
parentc9b5471f8866956919955b70ab27b4737b8bce30
ACPI: simplify acpiphp driver with new helper functions

Use the new helper functions introduced previously to simplify the
ACPI-based PCI hotplug (acpiphp) driver.

[rjw: Changelog]
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/acpiphp_glue.c