diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-25 07:19:53 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-25 07:29:23 -0500 |
commit | d56410e0a594150c5ca06319da7bc8901c4d455e (patch) | |
tree | f1462651ac1bcc5cec48219dbb422ac615231423 /drivers/media/video/zr36016.c | |
parent | 9f6933be665ce3b049c274c99810ac754edabf19 (diff) |
V4L/DVB (3599b): Whitespace cleanups under drivers/media
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/zr36016.c')
-rw-r--r-- | drivers/media/video/zr36016.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/video/zr36016.c b/drivers/media/video/zr36016.c index 10130ef67ea7..62f77584fb85 100644 --- a/drivers/media/video/zr36016.c +++ b/drivers/media/video/zr36016.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/types.h> | 34 | #include <linux/types.h> |
35 | #include <linux/wait.h> | 35 | #include <linux/wait.h> |
36 | 36 | ||
37 | /* includes for structures and defines regarding video | 37 | /* includes for structures and defines regarding video |
38 | #include<linux/videodev.h> */ | 38 | #include<linux/videodev.h> */ |
39 | 39 | ||
40 | /* I/O commands, error codes */ | 40 | /* I/O commands, error codes */ |
@@ -143,8 +143,8 @@ zr36016_readi (struct zr36016 *ptr, | |||
143 | 143 | ||
144 | static void | 144 | static void |
145 | zr36016_writei (struct zr36016 *ptr, | 145 | zr36016_writei (struct zr36016 *ptr, |
146 | u16 reg, | 146 | u16 reg, |
147 | u8 value) | 147 | u8 value) |
148 | { | 148 | { |
149 | dprintk(4, "%s: writing indirect 0x%02x to 0x%04x\n", ptr->name, | 149 | dprintk(4, "%s: writing indirect 0x%02x to 0x%04x\n", ptr->name, |
150 | value, reg); | 150 | value, reg); |
@@ -192,7 +192,7 @@ zr36016_basic_test (struct zr36016 *ptr) | |||
192 | dprintk(1, "\n"); | 192 | dprintk(1, "\n"); |
193 | } | 193 | } |
194 | // for testing just write 0, then the default value to a register and read | 194 | // for testing just write 0, then the default value to a register and read |
195 | // it back in both cases | 195 | // it back in both cases |
196 | zr36016_writei(ptr, ZR016I_PAX_LO, 0x00); | 196 | zr36016_writei(ptr, ZR016I_PAX_LO, 0x00); |
197 | if (zr36016_readi(ptr, ZR016I_PAX_LO) != 0x0) { | 197 | if (zr36016_readi(ptr, ZR016I_PAX_LO) != 0x0) { |
198 | dprintk(1, | 198 | dprintk(1, |
@@ -232,17 +232,17 @@ zr36016_basic_test (struct zr36016 *ptr) | |||
232 | static int zr36016_pushit (struct zr36016 *ptr, | 232 | static int zr36016_pushit (struct zr36016 *ptr, |
233 | u16 startreg, | 233 | u16 startreg, |
234 | u16 len, | 234 | u16 len, |
235 | const char *data) | 235 | const char *data) |
236 | { | 236 | { |
237 | int i=0; | 237 | int i=0; |
238 | 238 | ||
239 | dprintk(4, "%s: write data block to 0x%04x (len=%d)\n", | 239 | dprintk(4, "%s: write data block to 0x%04x (len=%d)\n", |
240 | ptr->name, startreg,len); | 240 | ptr->name, startreg,len); |
241 | while (i<len) { | 241 | while (i<len) { |
242 | zr36016_writei(ptr, startreg++, data[i++]); | 242 | zr36016_writei(ptr, startreg++, data[i++]); |
243 | } | 243 | } |
244 | 244 | ||
245 | return i; | 245 | return i; |
246 | } | 246 | } |
247 | #endif | 247 | #endif |
248 | 248 | ||