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

From: Andy Shevchenko

Date: Wed Apr 22 2026 - 15:38:52 EST


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