media: rockchip: rga: add local variable for pix_format
authorMichael Tretter <m.tretter@pengutronix.de>
Fri, 13 Oct 2023 11:00:30 +0000 (13:00 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 7 Dec 2023 07:56:14 +0000 (08:56 +0100)
commit4e4dd24e309dbd9a3cac7a228b62991a8dfe8390
treed21644ea92a8d521a1bb59036d3df74f34a3f772
parent012602c560b43a6de4c82a463bb4f282d50c38b4
media: rockchip: rga: add local variable for pix_format

The local variable allows to simplify the accessed to the format and
makes it easier to change the type of the format.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/rockchip/rga/rga.c