Re: [PATCH v4] iio: cros_ec: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Andy Shevchenko <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,dev.linux.lists.chrome-platform,org.kernel.vger.linux-kernel |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo |
| Message-ID | <[email protected]> |
On Fri, Aug 28, 2026 at 09:13:49AM +0700, Triet Hoang wrote: > Convert deprecated SIMPLE_DEV_PM_OPS() to DEFINE_SIMPLE_DEV_PM_OPS() > and pm_sleep_ptr(). Also replace SIMPLE_DEV_PM_OPS() + EXPORT_SYMBOL_GPL() > with EXPORT_GPL_SIMPLE_DEV_PM_OPS(). > > This allows us to drop the __maybe_unused annotations from the resume callback. > This is a straightforward cleanup with no functional change intended. LGTM now, Reviewed-by: Andy Shevchenko <[email protected]> -- With Best Regards, Andy Shevchenko