Re: [PATCH v4] auxdisplay: arm-charlcd: Use DEFINE_SIMPLE_DEV_PM_OPS for power management
Andy Shevchenko <[email protected]>
| Newsgroups | gmane.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 Thu, Aug 20, 2026 at 10:32:12AM +0800, Li Jun wrote: > Replace the manually defined dev_pm_ops structure with the > DEFINE_SIMPLE_DEV_PM_OPS macro to simplify the power management code. > This macro automatically handles CONFIG_PM_SLEEP configuration > and generates freeze/thaw/poweroff/restore callbacks, reducing > boilerplate code. > Changes: > -Replace SIMPLE_DEV_PM_OPS() in v1 v2 with DEFINE_SIMPLE_DEV_PM_OPS() for pm. > -Corrected grammar errors in v1 comment. As Dan (IIRC) said, please move changelog to the below '---' cutter line and address all my comments. -- With Best Regards, Andy Shevchenko