diff options
| author | Li Jun <lijun01@kylinos.cn> | 2026-08-27 08:28:12 +0800 |
|---|---|---|
| committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-09-03 13:57:09 +0200 |
| commit | c868291c2b3d74d5f1cae748a9452b340b21f1d1 (patch) | |
| tree | ad70d69990ec133b8ed82cf0895a5c0570d3c669 /scripts/Makefile.thinlto | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-next-c868291c2b3d74d5f1cae748a9452b340b21f1d1.tar.gz linux-next-c868291c2b3d74d5f1cae748a9452b340b21f1d1.zip | |
auxdisplay: arm-charlcd: Use DEFINE_SIMPLE_DEV_PM_OPS for power management
Replace the manually defined dev_pm_ops structure with the
DEFINE_SIMPLE_DEV_PM_OPS macro to simplify the power management
code, pm_sleep_ptr() to safely drop the references without
triggering compiler warnings. This macro automatically handles
CONFIG_PM_SLEEP configuration and generates freeze/thaw/poweroff/restore
callbacks, reducing boilerplate code.
Signed-off-by: Li Jun <lijun01@kylinos.cn>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
