Commit 2a60b6be authored by André Apitzsch's avatar André Apitzsch Committed by Greg Kroah-Hartman
Browse files

media: i2c: imx214: Replace register addresses with macros



[ Upstream commit 341a133b ]

Define macros for all the known registers used in the register arrays,
and use them to replace the numerical addresses. This improves
readability.

Acked-by: default avatarRicardo Ribalda <ribalda@chromium.org>
Signed-off-by: default avatarAndré Apitzsch <git@apitzsch.eu>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Stable-dep-of: acc29451 ("media: i2c: imx214: Fix link frequency validation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 694d8579
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment