Re: [PATCH] ACPI: PM: Unexport acpi_device_get_power()

Rafael J. Wysocki
2019-07-05T09:46:59Z

On Thursday, July 4, 2019 9:46:40 AM CEST Mika Westerberg wrote:
> On Thu, Jul 04, 2019 at 01:02:49AM +0200, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> >
> > 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>
> > ---
>
> Makes perfect sense!
>
> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
>

Thanks!

I've queued this one for 5.3.