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

Convert the Renesas Capture Engine Unit 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/renesas-ceu.c