Re: [PATCH v2 5/6] iio: accel: mma8452: use pm_ptr() for dev_pm_ops

Andy Shevchenko
2026-04-22T19:38:19Z

On Wed, Apr 22, 2026 at 10:26:42PM +0530, Sanjay Chitroda wrote:

> Use pm_ptr() and DEFINE_RUNTIME_DEV_PM_OPS() so the PM ops pointer is
> automatically handle when CONFIG_PM is enabled/disabled. This follows
> modern kernel power-management conventions.

After this patch there are still CONFIG_PM ifdeffery left, why?

--
With Best Regards,
Andy Shevchenko