summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vme
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2019-06-01 13:51:38 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-05 15:55:11 -0400
commit345162044fa6d344007cbd822722a129be579d97 (patch)
tree8c7fb05fc4e5739bbd2c61b1c02679bdcecb57bc /drivers/staging/vme
parent2b0287ef1d9e9a86517d481d270ac160a8c31651 (diff)
downloadlinux-stable-345162044fa6d344007cbd822722a129be579d97.tar.gz
linux-stable-345162044fa6d344007cbd822722a129be579d97.tar.bz2
linux-stable-345162044fa6d344007cbd822722a129be579d97.zip
media: imx7-media-csi: Use functions instead of macros
Currently there is a macro for reading and another macro for writing to the CSI registers. Functions can do parameter type checking, which leads to a safer code, so switch from macro to function implementation. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/vme')
0 files changed, 0 insertions, 0 deletions