]> Gentwo Git Trees - linux/.git/commit
media: renesas: fdp1: Convert to RUNTIME_PM_OPS()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Jul 2025 19:16:09 +0000 (21:16 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 17 Sep 2025 10:14:05 +0000 (12:14 +0200)
commit2ca1d2a041d4fffc458e0b98278536a88438950a
tree1129141a2618a737b2e7f22912d2375440db9b54
parentcde682d151eccd1803fabea43d7327d1a11d358d
media: renesas: fdp1: Convert to RUNTIME_PM_OPS()

Convert the Renesas Fine Display Processor driver from
SET_RUNTIME_PM_OPS() to RUNTIME_PM_OPS() and pm_ptr().  This lets us
drop the __maybe_unused annotations from its runtime suspend and resume
callbacks, and reduces kernel size in case CONFIG_PM is disabled.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/renesas/rcar_fdp1.c