[media] Cleanup line > 80 character violations
authorEmil Goode <emilgoode@gmail.com>
Tue, 24 Jun 2014 21:42:28 +0000 (18:42 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 23 Jul 2014 00:24:24 +0000 (21:24 -0300)
This cleans up some line over 80 character violations.

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/stb6100_cfg.h
drivers/media/dvb-frontends/tda8261_cfg.h

index 0e10ad89d1f16696b934a1a7e8f79a3dd4ebed22..6edc15365847ac8edcb28470b336efa987e4ae32 100644 (file)
@@ -27,7 +27,8 @@ static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency)
        int err = 0;
 
        if (tuner_ops->get_state) {
-               if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) {
+               err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &t_state);
+               if (err < 0) {
                        printk("%s: Invalid parameter\n", __func__);
                        return err;
                }
@@ -46,7 +47,8 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
        t_state.frequency = frequency;
 
        if (tuner_ops->set_state) {
-               if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) {
+               err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state);
+               if (err < 0) {
                        printk("%s: Invalid parameter\n", __func__);
                        return err;
                }
@@ -62,7 +64,8 @@ static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
        int err = 0;
 
        if (tuner_ops->get_state) {
-               if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state)) < 0) {
+               err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state);
+               if (err < 0) {
                        printk("%s: Invalid parameter\n", __func__);
                        return err;
                }
@@ -81,7 +84,8 @@ static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
        t_state.bandwidth = bandwidth;
 
        if (tuner_ops->set_state) {
-               if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state)) < 0) {
+               err = tuner_ops->set_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state);
+               if (err < 0) {
                        printk("%s: Invalid parameter\n", __func__);
                        return err;
                }
index 7de65c302e08df1fac397eca1ad3d586e5f11fb8..04a19e14ee5a41e82dd22e9c2ae07978d142cecc 100644 (file)
@@ -25,7 +25,8 @@ static int tda8261_get_frequency(struct dvb_frontend *fe, u32 *frequency)
        int err = 0;
 
        if (tuner_ops->get_state) {
-               if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) {
+               err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &t_state);
+               if (err < 0) {
                        printk("%s: Invalid parameter\n", __func__);
                        return err;
                }
@@ -45,7 +46,8 @@ static int tda8261_set_frequency(struct dvb_frontend *fe, u32 frequency)
        t_state.frequency = frequency;
 
        if (tuner_ops->set_state) {
-               if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) {
+               err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state);
+               if (err < 0) {
                        printk("%s: Invalid parameter\n", __func__);
                        return err;
                }
@@ -62,7 +64,8 @@ static int tda8261_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
        int err = 0;
 
        if (tuner_ops->get_state) {
-               if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state)) < 0) {
+               err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &t_state);
+               if (err < 0) {
                        printk("%s: Invalid parameter\n", __func__);
                        return err;
                }