media: smiapp: Use the BIT macro where appropriate, remove useless definition
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 23 Sep 2019 13:05:37 +0000 (10:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 24 Oct 2019 21:50:53 +0000 (18:50 -0300)
commit837c07ebb030bc3582c14907dd2b79ca9b0b6984
treeafbb18ee15d1ace6e1ed4ed5332c80a3b10cce81
parenta0219deefe9ee5006a28d48522f76b217d198c51
media: smiapp: Use the BIT macro where appropriate, remove useless definition

The BIT macro is a better way to define register bits, for 1 << bit is
risky for 32-bit registers.

Also remove the definition of SMIAPP_DATA_TRANSFER_IF_1_CTRL_RD_EN which
has a value of zero.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/smiapp/smiapp-core.c
drivers/media/i2c/smiapp/smiapp-reg.h