]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: nxp: imx8-isi: Refine code by using helper macro
authorGuoniu Zhou <guoniu.zhou@nxp.com>
Fri, 5 Sep 2025 06:55:59 +0000 (14:55 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 3 Nov 2025 10:40:22 +0000 (11:40 +0100)
commit556e65b535637c408a8b0a5e525689a2a37206f3
treeed6e810546603461d2f39c01d4025c9493fc0ea8
parent014619ac2ce60f1e81735bccc26fb97324504743
media: nxp: imx8-isi: Refine code by using helper macro

Make code more readable and easier to maintain by using the FIELD_PREP
and GENMASK() macros.

While at it, replace spaces with tabs for macro indentation.

No functional changes.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
Link: https://patch.msgid.link/20250905-isi_imx93-v2-2-37db5f768c57@nxp.com
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/nxp/imx8-isi/imx8-isi-gasket.c