summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/glue.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-06-16 00:37:42 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-06-19 23:37:08 +0200
commitb25c77efa71178f8281401e492e5c63cf7c34900 (patch)
treed06c5e6d10d84fcfb5880fa62d8dda98fdb3a8a9 /drivers/acpi/glue.c
parent95d45d4cab6540e3f2183d86662c255fa4332331 (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/glue.c')
0 files changed, 0 insertions, 0 deletions