]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] dib0700: fix bad indentation
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 29 Apr 2015 20:16:27 +0000 (17:16 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 09:26:05 +0000 (06:26 -0300)
drivers/media/usb/dvb-usb/dib0700_devices.c:864 dib7770_set_param_override() warn: inconsistent indenting

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb/dib0700_devices.c

index d7d55a20e959073f4519172c8948e5e416268f62..90cee380d3aa2b7433196098d0974b18f5e42ce5 100644 (file)
@@ -861,22 +861,22 @@ static int dib7770_set_param_override(struct dvb_frontend *fe)
        struct dvb_usb_adapter *adap = fe->dvb->priv;
        struct dib0700_adapter_state *state = adap->priv;
 
-        u16 offset;
-        u8 band = BAND_OF_FREQUENCY(p->frequency/1000);
-        switch (band) {
-        case BAND_VHF:
-                 state->dib7000p_ops.set_gpio(fe, 0, 0, 1);
-                 offset = 850;
-                 break;
-        case BAND_UHF:
-        default:
-                 state->dib7000p_ops.set_gpio(fe, 0, 0, 0);
-                 offset = 250;
-                 break;
-        }
-        deb_info("WBD for DiB7000P: %d\n", offset + dib0070_wbd_offset(fe));
-        state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe));
-        return state->set_param_save(fe);
+       u16 offset;
+       u8 band = BAND_OF_FREQUENCY(p->frequency/1000);
+       switch (band) {
+       case BAND_VHF:
+               state->dib7000p_ops.set_gpio(fe, 0, 0, 1);
+               offset = 850;
+               break;
+       case BAND_UHF:
+       default:
+               state->dib7000p_ops.set_gpio(fe, 0, 0, 0);
+               offset = 250;
+               break;
+       }
+       deb_info("WBD for DiB7000P: %d\n", offset + dib0070_wbd_offset(fe));
+       state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe));
+       return state->set_param_save(fe);
 }
 
 static int dib7770p_tuner_attach(struct dvb_usb_adapter *adap)