diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-18 21:12:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:09:43 -0400 |
commit | 18d73c58b5ea7425db05b666408f6f682d837b73 (patch) | |
tree | d071b99fdbb10abbed2c9c81ec3ea2a2519c4ffc /drivers/media/video/au0828/au0828.h | |
parent | bbdf855b0e98ba576b3577522af5e5c7503c4ed0 (diff) |
V4L/DVB (7638): CodingStyle fixes for au8522 and au0828
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/au0828/au0828.h')
-rw-r--r-- | drivers/media/video/au0828/au0828.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/media/video/au0828/au0828.h b/drivers/media/video/au0828/au0828.h index 7e6aeb727baa..0200b9fc5dc4 100644 --- a/drivers/media/video/au0828/au0828.h +++ b/drivers/media/video/au0828/au0828.h | |||
@@ -83,13 +83,14 @@ struct au0828_buff { | |||
83 | }; | 83 | }; |
84 | 84 | ||
85 | /* ----------------------------------------------------------- */ | 85 | /* ----------------------------------------------------------- */ |
86 | #define au0828_read(dev,reg) au0828_readreg(dev,reg) | 86 | #define au0828_read(dev, reg) au0828_readreg(dev, reg) |
87 | #define au0828_write(dev,reg,value) au0828_writereg(dev,reg,value) | 87 | #define au0828_write(dev, reg, value) au0828_writereg(dev, reg, value) |
88 | #define au0828_andor(dev,reg,mask,value) \ | 88 | #define au0828_andor(dev, reg, mask, value) \ |
89 | au0828_writereg(dev,reg,(au0828_readreg(dev,reg)&~(mask))|((value)&(mask))) | 89 | au0828_writereg(dev, reg, \ |
90 | 90 | (au0828_readreg(dev, reg) & ~(mask)) | ((value) & (mask))) | |
91 | #define au0828_set(dev,reg,bit) au0828_andor(dev,(reg),(bit),(bit)) | 91 | |
92 | #define au0828_clear(dev,reg,bit) au0828_andor(dev,(reg),(bit),0) | 92 | #define au0828_set(dev, reg, bit) au0828_andor(dev, (reg), (bit), (bit)) |
93 | #define au0828_clear(dev, reg, bit) au0828_andor(dev, (reg), (bit), 0) | ||
93 | 94 | ||
94 | /* ----------------------------------------------------------- */ | 95 | /* ----------------------------------------------------------- */ |
95 | /* au0828-core.c */ | 96 | /* au0828-core.c */ |