Re: [PATCH v4] auxdisplay: arm-charlcd: Use DEFINE_SIMPLE_DEV_PM_OPS for power management

From: lijun

Date: Fri Aug 21 2026 - 05:37:27 EST


My subsequent commits,i will add changlog below '---' cutter line.

and address all your comments.


2026/8/21 17:17, Andy Shevchenko :
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.