summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-11-09 22:31:40 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:31:49 -0300
commit1f075d1f1bfb7101be9a651a4d087193b4f05b23 (patch)
treeccfa05a85ccf6c30200a542ecf9b6023f6526ec9 /drivers/media/dvb/dvb-usb
parentd642f2f3c5be4737ec021c6d6e9cda99262564f8 (diff)
downloadop-kernel-dev-1f075d1f1bfb7101be9a651a4d087193b4f05b23.zip
op-kernel-dev-1f075d1f1bfb7101be9a651a4d087193b4f05b23.tar.gz
[media] technisat-usb2: CodingStyle cleanups
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-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 10151aa..08f8842 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,
u8 version[3];
/* first select the interface */
- if (usb_set_interface(udev, 0, 1) != 0) {
+ if (usb_set_interface(udev, 0, 1) != 0)
err("could not set alternate setting to 0");
- } else {
+ else
info("set alternate setting");
- }
*cold = 0; /* by default do not download a firmware - just in case something is wrong */
@@ -378,7 +377,7 @@ static void technisat_usb2_eeprom_dump(struct dvb_usb_device *d)
{
u8 reg;
u8 b[16];
- int i,j;
+ int i, j;
/* full EEPROM dump */
for (j = 0; j < 256 * 4; j += 16) {
@@ -496,9 +495,9 @@ static struct stv090x_config technisat_usb2_stv090x_config = {
};
static struct stv6110x_config technisat_usb2_stv6110x_config = {
- .addr = 0x60,
- .refclk = 16000000,
- .clk_div = 2,
+ .addr = 0x60,
+ .refclk = 16000000,
+ .clk_div = 2,
};
static int technisat_usb2_frontend_attach(struct dvb_usb_adapter *a)
OpenPOWER on IntegriCloud