Commit 576f7d34 authored by ileana@telecom-paristech.fr's avatar ileana@telecom-paristech.fr Committed by Mauro Carvalho Chehab

[media] staging: omap24xx: fix coding style

Fix missing parentheses in macros
Errors found by checkpatch.pl
Signed-off-by: default avatarIoana Ileana <ileana@enst.fr>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent ba2d35c1
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
#define TCM825X_NAME "tcm825x" #define TCM825X_NAME "tcm825x"
#define TCM825X_MASK(x) x & 0x00ff #define TCM825X_MASK(x) (x & 0x00ff)
#define TCM825X_ADDR(x) (x & 0xff00) >> 8 #define TCM825X_ADDR(x) ((x & 0xff00) >> 8)
/* The TCM825X I2C sensor chip has a fixed slave address of 0x3d. */ /* The TCM825X I2C sensor chip has a fixed slave address of 0x3d. */
#define TCM825X_I2C_ADDR 0x3d #define TCM825X_I2C_ADDR 0x3d
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment