]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI / PM: Drop two functions that are not used any more
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Oct 2013 13:44:48 +0000 (15:44 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Oct 2013 13:44:48 +0000 (15:44 +0200)
commit2421ad48f4aed63bc890e8f3c53ed581a542fb66
treef0d8fe117cfc0e8227816cace9d5434503bedf0e
parentb08fc109ce4a32ce2f73f6e0437abc94ab1dd023
ACPI / PM: Drop two functions that are not used any more

Two functions defined in device_pm.c, acpi_dev_pm_add_dependent()
and acpi_dev_pm_remove_dependent(), have no callers and may be
dropped, so drop them.

Moreover, they are the only functions adding entries to and removing
entries from the power_dependent list in struct acpi_device, so drop
that list too.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c
drivers/acpi/scan.c
include/acpi/acpi_bus.h