aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-11-09 19:31:40 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:31:49 -0400
commit1f075d1f1bfb7101be9a651a4d087193b4f05b23 (patch)
treeccfa05a85ccf6c30200a542ecf9b6023f6526ec9
parentd642f2f3c5be4737ec021c6d6e9cda99262564f8 (diff)
[media] technisat-usb2: CodingStyle cleanups
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/dvb-usb/technisat-usb2.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/media/dvb/dvb-usb/technisat-usb2.c b/drivers/media/dvb/dvb-usb/technisat-usb2.c
index 10151aa49239..08f8842ad280 100644
--- a/drivers/media/dvb/dvb-usb/technisat-usb2.c
+++ b/drivers/media/dvb/dvb-usb/technisat-usb2.c
@@ -331,11 +331,10 @@ static int technisat_usb2_identify_state(struct usb_device *udev,
331 u8 version[3]; 331 u8 version[3];
332 332
333 /* first select the interface */ 333 /* first select the interface */
334 if (usb_set_interface(udev, 0, 1) != 0) { 334 if (usb_set_interface(udev, 0, 1) != 0)
335 err("could not set alternate setting to 0"); 335 err("could not set alternate setting to 0");
336 } else { 336 else
337 info("set alternate setting"); 337 info("set alternate setting");
338 }
339 338
340 *cold = 0; /* by default do not download a firmware - just in case something is wrong */ 339 *cold = 0; /* by default do not download a firmware - just in case something is wrong */
341 340
@@ -378,7 +377,7 @@ static void technisat_usb2_eeprom_dump(struct dvb_usb_device *d)
378{ 377{
379 u8 reg; 378 u8 reg;
380 u8 b[16]; 379 u8 b[16];
381 int i,j; 380 int i, j;
382 381
383 /* full EEPROM dump */ 382 /* full EEPROM dump */
384 for (j = 0; j < 256 * 4; j += 16) { 383 for (j = 0; j < 256 * 4; j += 16) {
@@ -496,9 +495,9 @@ static struct stv090x_config technisat_usb2_stv090x_config = {
496}; 495};
497 496
498static struct stv6110x_config technisat_usb2_stv6110x_config = { 497static struct stv6110x_config technisat_usb2_stv6110x_config = {
499 .addr = 0x60, 498 .addr = 0x60,
500 .refclk = 16000000, 499 .refclk = 16000000,
501 .clk_div = 2, 500 .clk_div = 2,
502}; 501};
503 502
504static int technisat_usb2_frontend_attach(struct dvb_usb_adapter *a) 503static int technisat_usb2_frontend_attach(struct dvb_usb_adapter *a)