aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/au0828/au0828-cards.c
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-15 17:48:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:27 -0400
commit62899a28008d635f25c3408b4cc46021f0cb34d3 (patch)
treec5c92a3617aecbfb2cfe4d964b2a8bda37652d46 /drivers/media/video/au0828/au0828-cards.c
parent3d62287e2c6c5b3351e04dd2c2209b2536995fdb (diff)
V4L/DVB (11085): au0828/au8522: Codingstyle fixes
Take a pass over all of the au0828/au8522 files and cleanup all the codingstyle issues. This patch does not make *any* functional change to the code. Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828-cards.c')
-rw-r--r--drivers/media/video/au0828/au0828-cards.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/drivers/media/video/au0828/au0828-cards.c b/drivers/media/video/au0828/au0828-cards.c
index a12c92c03746..1b48eb58a161 100644
--- a/drivers/media/video/au0828/au0828-cards.c
+++ b/drivers/media/video/au0828/au0828-cards.c
@@ -150,13 +150,13 @@ static void hauppauge_eeprom(struct au0828_dev *dev, u8 *eeprom_data)
150 /* Make sure we support the board model */ 150 /* Make sure we support the board model */
151 switch (tv.model) { 151 switch (tv.model) {
152 case 72000: /* WinTV-HVR950q (Retail, IR, ATSC/QAM */ 152 case 72000: /* WinTV-HVR950q (Retail, IR, ATSC/QAM */
153 case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and basic analog video */ 153 case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and analog video */
154 case 72211: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and basic analog video */ 154 case 72211: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */
155 case 72221: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and basic analog video */ 155 case 72221: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */
156 case 72231: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and basic analog video */ 156 case 72231: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */
157 case 72241: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and basic analog video */ 157 case 72241: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */
158 case 72251: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and basic analog video */ 158 case 72251: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and analog video */
159 case 72301: /* WinTV-HVR850 (Retail, IR, ATSC and basic analog video */ 159 case 72301: /* WinTV-HVR850 (Retail, IR, ATSC and analog video */
160 case 72500: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM */ 160 case 72500: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM */
161 break; 161 break;
162 default: 162 default:
@@ -202,9 +202,8 @@ void au0828_card_setup(struct au0828_dev *dev)
202 demod) */ 202 demod) */
203 sd = v4l2_i2c_new_subdev(&dev->i2c_adap, "au8522", "au8522", 203 sd = v4l2_i2c_new_subdev(&dev->i2c_adap, "au8522", "au8522",
204 0x8e >> 1); 204 0x8e >> 1);
205 if (sd == NULL) { 205 if (sd == NULL)
206 printk("analog subdev registration failure\n"); 206 printk(KERN_ERR "analog subdev registration failed\n");
207 }
208 } 207 }
209 208
210 /* Setup tuners */ 209 /* Setup tuners */
@@ -212,9 +211,8 @@ void au0828_card_setup(struct au0828_dev *dev)
212 /* Load the tuner module, which does the attach */ 211 /* Load the tuner module, which does the attach */
213 sd = v4l2_i2c_new_subdev(&dev->i2c_adap, "tuner", "tuner", 212 sd = v4l2_i2c_new_subdev(&dev->i2c_adap, "tuner", "tuner",
214 dev->board.tuner_addr); 213 dev->board.tuner_addr);
215 if (sd == NULL) { 214 if (sd == NULL)
216 printk("analog tuner subdev registration failure\n"); 215 printk(KERN_ERR "tuner subdev registration fail\n");
217 }
218 216
219 tun_setup.mode_mask = mode_mask; 217 tun_setup.mode_mask = mode_mask;
220 tun_setup.type = dev->board.tuner_type; 218 tun_setup.type = dev->board.tuner_type;