summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorileana@telecom-paristech.fr <ileana@telecom-paristech.fr>2014-03-18 10:31:03 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-16 18:21:19 -0300
commit576f7d34871f64ac3064f5fc3892c67a90cd1677 (patch)
tree51d9faf54282f7ad301d7112b04ecc5368140a60 /drivers
parentba2d35c14b6fc554547cf647bedb71cd9ead3cab (diff)
[media] staging: omap24xx: fix coding style
Fix missing parentheses in macros Errors found by checkpatch.pl Signed-off-by: Ioana Ileana <ileana@enst.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/media/omap24xx/tcm825x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/omap24xx/tcm825x.h b/drivers/staging/media/omap24xx/tcm825x.h
index 9970fb1c596a..8a29636d1ad4 100644
--- a/drivers/staging/media/omap24xx/tcm825x.h
+++ b/drivers/staging/media/omap24xx/tcm825x.h
@@ -21,8 +21,8 @@
#define TCM825X_NAME "tcm825x"
-#define TCM825X_MASK(x) x & 0x00ff
-#define TCM825X_ADDR(x) (x & 0xff00) >> 8
+#define TCM825X_MASK(x) (x & 0x00ff)
+#define TCM825X_ADDR(x) ((x & 0xff00) >> 8)
/* The TCM825X I2C sensor chip has a fixed slave address of 0x3d. */
#define TCM825X_I2C_ADDR 0x3d