diff options
| author | Triet Hoang <triet.hoang.dev@gmail.com> | 2026-08-22 08:34:08 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-01 11:36:20 +0200 |
| commit | ac16d60fa171b583e5ab27fc95f43152c1cd798e (patch) | |
| tree | 5a1ebe76a3da7e4ff032048e10404db23780bd53 /scripts/Makefile.thinlto | |
| parent | 50e29941dcced12bd4c832eb27e1e5cfec88fb6a (diff) | |
| download | linux-next-ac16d60fa171b583e5ab27fc95f43152c1cd798e.tar.gz linux-next-ac16d60fa171b583e5ab27fc95f43152c1cd798e.zip | |
staging: sm750: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Convert the 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 suspend
and resume callbacks, also reduces kernel size in case CONFIG_PM
or CONFIG_PM_SLEEP is disabled.
Signed-off-by: Triet Hoang <triet.hoang.dev@gmail.com>
Link: https://patch.msgid.link/20260822083408.44764-1-triet.hoang.dev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
