media: em28xx-reg.h: Fix coding style issues
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 3 Mar 2018 16:54:19 +0000 (11:54 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 10:54:52 +0000 (05:54 -0500)
commit2e1e84c587d792c4ad0abfbaed22201d9aac7b72
treeaa3706a2d1e9fd5d5ba38f5dfdde98d1cb8559f8
parentc69ce6156341e5d24d04689dc429c419fe7c0f9d
media: em28xx-reg.h: Fix coding style issues

Use BIT() macros and fix one comment that is not following
the Kernel coding style.

It should be noticed that the registers bit masks should be
casted to unsigned char, as, otherwise, it would produce
warnings like:

drivers/media/usb/em28xx/em28xx-cards.c:81:33: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  {EM2820_R08_GPIO_CTRL, 0x6d,   ~EM_GPIO_4, 10},
                                 ^

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/em28xx/em28xx-reg.h