commit | 9ed411c06dd1cdf6171b992f68c37bc2d66054f9 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jul 04 01:02:49 2019 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jul 04 10:49:57 2019 +0200 |
tree | 320fde60e04aafe80102d9d98706902c454d3c23 | |
parent | 28ad4b4e3496871ade868c3d0ecf5c53e4a49041 [diff] |
ACPI: PM: Unexport acpi_device_get_power() Using acpi_device_get_power() outside of ACPI device initialization and ACPI sysfs is problematic due to the way in which power resources are handled by it, so unexport it and add a paragraph explaining the pitfalls to its kerneldoc comment. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>