summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTriet Hoang <triet.hoang.dev@gmail.com>2026-08-22 08:34:08 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-01 11:36:20 +0200
commitac16d60fa171b583e5ab27fc95f43152c1cd798e (patch)
tree5a1ebe76a3da7e4ff032048e10404db23780bd53 /scripts
parent50e29941dcced12bd4c832eb27e1e5cfec88fb6a (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions