]> git.baikalelectronics.ru Git - kernel.git/commit
media: mt9p031: Use BIT macro
authorStefan Riedmueller <s.riedmueller@phytec.de>
Mon, 26 Jul 2021 07:35:16 +0000 (09:35 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:35 +0000 (10:07 +0200)
commit9885fb3222194a250ff1a6b80a1a127a17b3273d
tree95e5c14c4d7d423d9a1b2d0faad34c554c25a086
parent289a59a67c3d71e9f9a137fdfdfb37dfa62294db
media: mt9p031: Use BIT macro

Make use of the BIT macro for setting individual bits. This improves
readability and safety with respect to shifts.

When on it also remove two zero value disable defines.

Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/mt9p031.c