]> www.infradead.org Git - users/jedix/linux-maple.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, 5 Aug 2021 14:58:07 +0000 (16:58 +0200)
commitf48337bd8e64981084bc8d7c642efc87130296ad
tree612d17addb7e101c6777e8d3457cb70cf95c6feb
parent6f76e098b0c64192ebf45f57e71a8277c6d62d63
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