ACPI / hotplug / PCI: Redefine enable_device() and disable_device()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 13 Jul 2013 21:27:26 +0000 (23:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2013 02:00:28 +0000 (04:00 +0200)
commita1d0abcea845730c4ff2f47897e28c2f11c79d4f
treef1ea8c41befa9fd0f396923ee31dcb7753349061
parent1ad3790ac7cfac699993a3f2e189a69a82f8fe4d
ACPI / hotplug / PCI: Redefine enable_device() and disable_device()

Notice that functions enable_device() and disable_device() cannot
fail and their return values are ignored in the majority of places,
so redefine them as void and use the opportunity to change their
names to enable_slot() and disable_slot(), respectively, which much
better reflects what they do.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/hotplug/acpiphp_glue.c