OSDN Git Service

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)
commit0a0e78d13a42fcb9c6d82293a5f4a6f8f2677268
tree95e5c14c4d7d423d9a1b2d0faad34c554c25a086
parent0961ba6dd211a4a52d1dd4c2d59be60ac2dc08c7
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