Re: [PATCH v2] staging: iio: adt7316: modernize power management

Andy Shevchenko
2026-01-05T16:35:16Z

On Sun, Jan 04, 2026 at 10:08:03PM -0800, Michael Harris wrote:
> Replaced use of deprecated function SIMPLE_DEV_PM_OPS with

SIMPLE_DEV_PM_OPS()

> EXPORT_GPL_SIMPLE_DEV_PM_OPS.

EXPORT_GPL_SIMPLE_DEV_PM_OPS().

> Removed PM preprocessor conditions with usage of pm_sleep_ptr function.

First of all, pm_sleep_ptr() is a macro. Second, refer to it just like other
functions, i.e. pm_sleep_ptr().

...

Code wise it LGTM, thanks.

--
With Best Regards,
Andy Shevchenko