diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-16 00:37:42 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-19 23:37:08 +0200 |
commit | b25c77efa71178f8281401e492e5c63cf7c34900 (patch) | |
tree | d06c5e6d10d84fcfb5880fa62d8dda98fdb3a8a9 /drivers/acpi/pci_slot.c | |
parent | 95d45d4cab6540e3f2183d86662c255fa4332331 (diff) |
ACPI / PM: Rename function acpi_device_power_state() and make it static
There is a name clash between function acpi_device_power_state()
defined in drivers/acpi/device_pm.c and structure type
acpi_device_power_state defined in include/acpi/acpi_bus.h, which
may be resolved by renaming the function. Additionally, that
funtion may be made static, because it is not used anywhere outside
of the file it is defined in.
Rename acpi_device_power_state() to acpi_dev_pm_get_state(), which
better reflects its purpose, and make it static.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/pci_slot.c')
0 files changed, 0 insertions, 0 deletions