diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-03 11:54:19 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-06 05:54:52 -0500 |
commit | 2e1e84c587d792c4ad0abfbaed22201d9aac7b72 (patch) | |
tree | aa3706a2d1e9fd5d5ba38f5dfdde98d1cb8559f8 /crypto/crct10dif_common.c | |
parent | c69ce6156341e5d24d04689dc429c419fe7c0f9d (diff) |
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>
Diffstat (limited to 'crypto/crct10dif_common.c')
0 files changed, 0 insertions, 0 deletions