On Sat, Oct 06, 2018 at 10:55:41AM +0200, Hans de Goede wrote: > On 03-10-18 11:22, Rafael J. Wysocki wrote: > > On Monday, September 24, 2018 11:40:14 AM CEST Hans de Goede wrote: > > Also, why don't you use acpi_device_get_power() instead of evaluating > > _PSC directly? It should make no difference if there are no power > > resources, should it? > 2) acpi_device_get_power() is not exported to modules Do we have any side effects if we just export it? I would think exporting is better than open coding. -- With Best Regards, Andy Shevchenko