]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/stm: dsi: use new SYSTEM_SLEEP_PM_OPS() macro
authorRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Mon, 29 Jan 2024 10:41:04 +0000 (11:41 +0100)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Fri, 28 Jun 2024 09:28:24 +0000 (11:28 +0200)
commit884d7d03e59d5dc985b2dfb09ff7409a77bc1209
tree1bdbc8e7898af7ee2185ce01464187d83eeac07f
parentaca1cbc1c9860e39736d33626e5a1b45ff762f0a
drm/stm: dsi: use new SYSTEM_SLEEP_PM_OPS() macro

Use RUNTIME_PM_OPS() instead of the old SET_SYSTEM_SLEEP_PM_OPS().
This means we don't need  __maybe_unused on the functions.

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
Tested-by: Yannick Fertre <yannick.fertre@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240129104106.43141-2-raphael.gallais-pou@foss.st.com
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c