Re: [PATCH v3] iio: cros_ec: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Joshua Crofts <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,dev.linux.lists.chrome-platform,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 25 Aug 2026 16:35:24 +0700 Triet Hoang <[email protected]> wrote: > Convert deprecated SIMPLE_DEV_PM_OPS() to DEFINE_SIMPLE_DEV_PM_OPS() > and pm_sleep_ptr(). > > This lets us drop the __maybe_unused annotations from the resume callback. > This is a straightforward cleanup with no functional change intended. > > Signed-off-by: Triet Hoang <[email protected]> > Reviewed-by: Tzung-Bi Shih <[email protected]> > Reviewed-by: Jonathan Cameron <[email protected]> > Reviewed-by: Andy Shevchenko <[email protected]> > --- > Changes in v2: > - Use EXPORT_GPL_SIMPLE_DEV_PM_OPS for cros_ec_sensors_pm_ops > - Wrap to 75 ish chars for commit messages. > Changes in v3: > - Update commit message based on feedback from v2, and added Reviewed-by tags. > --- Please don't send a new version as a reply to the previous version, it can break tooling like b4. Additionally, please wait at least 24 hours before sending a new version. -- Kind regards, Joshua Crofts