]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: amphion: Remove dummy PM handling
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Sep 2025 15:34:09 +0000 (17:34 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 3 Nov 2025 14:58:41 +0000 (15:58 +0100)
commitae0e4aa18ff2fd5f5e033b3bd3acc9c1c7025ec1
treed097dc37d02ed32ab5d0e0c317588fd1d3fc201e
parent959d787979e349858a96639415b410fcc1345806
media: amphion: Remove dummy PM handling

Since commit 63d00be69348fda4 ("PM: runtime: Allow unassigned
->runtime_suspend|resume callbacks"), unassigned
.runtime_{suspend,resume}() callbacks are treated the same as dummy
callbacks that just return zero.
Unassigned system sleep callbacks were always treated the same as dummy
callbacks that just return zero.

As the driver has no other PM callbacks than dummy callbacks, all PM
handling can be removed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ming Qian <ming.qian@oss.nxp.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/amphion/vpu_drv.c