]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] dvb-frontends: don't break long lines
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 18 Oct 2016 19:44:22 +0000 (17:44 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 12:01:56 +0000 (10:01 -0200)
Due to the 80-cols restrictions, and latter due to checkpatch
warnings, several strings were broken into multiple lines. This
is not considered a good practice anymore, as it makes harder
to grep for strings at the source code.

As we're right now fixing other drivers due to KERN_CONT, we need
to be able to identify what printk strings don't end with a "\n".
It is a way easier to detect those if we don't break long lines.

So, join those continuation lines.

The patch was generated via the script below, and manually
adjusted if needed.

</script>
use Text::Tabs;
while (<>) {
if ($next ne "") {
$c=$_;
if ($c =~ /^\s+\"(.*)/) {
$c2=$1;
$next =~ s/\"\n$//;
$n = expand($next);
$funpos = index($n, '(');
$pos = index($c2, '",');
if ($funpos && $pos > 0) {
$s1 = substr $c2, 0, $pos + 2;
$s2 = ' ' x ($funpos + 1) . substr $c2, $pos + 2;
$s2 =~ s/^\s+//;

$s2 = ' ' x ($funpos + 1) . $s2 if ($s2 ne "");

print unexpand("$next$s1\n");
print unexpand("$s2\n") if ($s2 ne "");
} else {
print "$next$c2\n";
}
$next="";
next;
} else {
print $next;
}
$next="";
} else {
if (m/\"$/) {
if (!m/\\n\"$/) {
$next=$_;
next;
}
}
}
print $_;
}
</script>

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
29 files changed:
drivers/media/dvb-frontends/au8522_common.c
drivers/media/dvb-frontends/cx24110.c
drivers/media/dvb-frontends/cx24113.c
drivers/media/dvb-frontends/cx24116.c
drivers/media/dvb-frontends/cx24117.c
drivers/media/dvb-frontends/cx24123.c
drivers/media/dvb-frontends/ds3000.c
drivers/media/dvb-frontends/lgdt330x.c
drivers/media/dvb-frontends/m88rs2000.c
drivers/media/dvb-frontends/mt312.c
drivers/media/dvb-frontends/nxt200x.c
drivers/media/dvb-frontends/or51132.c
drivers/media/dvb-frontends/or51211.c
drivers/media/dvb-frontends/s5h1409.c
drivers/media/dvb-frontends/s5h1411.c
drivers/media/dvb-frontends/s5h1432.c
drivers/media/dvb-frontends/s921.c
drivers/media/dvb-frontends/si21xx.c
drivers/media/dvb-frontends/sp887x.c
drivers/media/dvb-frontends/stv0288.c
drivers/media/dvb-frontends/stv0297.c
drivers/media/dvb-frontends/stv0299.c
drivers/media/dvb-frontends/stv0900_sw.c
drivers/media/dvb-frontends/tda10021.c
drivers/media/dvb-frontends/tda10023.c
drivers/media/dvb-frontends/tda10048.c
drivers/media/dvb-frontends/ves1820.c
drivers/media/dvb-frontends/zl10036.c
drivers/media/dvb-frontends/zl10039.c

index f135126bc373ed1e8e7ad161e40b4fcec16ab0bf..cf4ac240a01f8c1f1d801309f902001684040205 100644 (file)
@@ -50,8 +50,8 @@ int au8522_writereg(struct au8522_state *state, u16 reg, u8 data)
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               printk("%s: writereg error (reg == 0x%02x, val == 0x%04x, "
-                      "ret == %i)\n", __func__, reg, data, ret);
+               printk("%s: writereg error (reg == 0x%02x, val == 0x%04x, ret == %i)\n",
+                      __func__, reg, data, ret);
 
        return (ret != 1) ? -1 : 0;
 }
index 6cb81ec12847410ad3e600f4ab3960f3e1da0615..92a08c7bf7949b95468cd1afc6eb56b80284e312 100644 (file)
@@ -120,8 +120,8 @@ static int cx24110_writereg (struct cx24110_state* state, int reg, int data)
        int err;
 
        if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) {
-               dprintk ("%s: writereg error (err == %i, reg == 0x%02x,"
-                        " data == 0x%02x)\n", __func__, err, reg, data);
+               dprintk("%s: writereg error (err == %i, reg == 0x%02x, data == 0x%02x)\n",
+                       __func__, err, reg, data);
                return -EREMOTEIO;
        }
 
index 3883c3b31aef3d98109059242b73063d8a40d468..3812ef8cac082265d7fb17104c674e569c8a3f02 100644 (file)
@@ -108,8 +108,8 @@ static int cx24113_writereg(struct cx24113_state *state, int reg, int data)
                .flags = 0, .buf = buf, .len = 2 };
        int err = i2c_transfer(state->i2c, &msg, 1);
        if (err != 1) {
-               printk(KERN_DEBUG "%s: writereg error(err == %i, reg == 0x%02x,"
-                        " data == 0x%02x)\n", __func__, err, reg, data);
+               printk(KERN_DEBUG "%s: writereg error(err == %i, reg == 0x%02x, data == 0x%02x)\n",
+                      __func__, err, reg, data);
                return err;
        }
 
index 8814f36d53fb8e33ca70aa995943381ac7e7b5d1..ae5a7f9f5a72689fec220379f4e3b5878de5b234 100644 (file)
@@ -209,8 +209,8 @@ static int cx24116_writereg(struct cx24116_state *state, int reg, int data)
 
        err = i2c_transfer(state->i2c, &msg, 1);
        if (err != 1) {
-               printk(KERN_ERR "%s: writereg error(err == %i, reg == 0x%02x,"
-                        " value == 0x%02x)\n", __func__, err, reg, data);
+               printk(KERN_ERR "%s: writereg error(err == %i, reg == 0x%02x, value == 0x%02x)\n",
+                      __func__, err, reg, data);
                return -EREMOTEIO;
        }
 
@@ -498,8 +498,8 @@ static int cx24116_firmware_ondemand(struct dvb_frontend *fe)
                printk(KERN_INFO "%s: Waiting for firmware upload(2)...\n",
                        __func__);
                if (ret) {
-                       printk(KERN_ERR "%s: No firmware uploaded "
-                               "(timeout or file not found?)\n", __func__);
+                       printk(KERN_ERR "%s: No firmware uploaded (timeout or file not found?)\n",
+                              __func__);
                        return ret;
                }
 
index a3f7eb4e609d53887a9c5b7e765da906281ca6c1..bc3cd698303f6b22c34b9c064850254786358ca1 100644 (file)
@@ -474,8 +474,8 @@ static int cx24117_firmware_ondemand(struct dvb_frontend *fe)
                        "%s: Waiting for firmware upload(2)...\n", __func__);
                if (ret) {
                        dev_err(&state->priv->i2c->dev,
-                               "%s: No firmware uploaded "
-                               "(timeout or file not found?)\n", __func__);
+                               "%s: No firmware uploaded (timeout or file not found?)\n",
+__func__);
                        return ret;
                }
 
index 113b0949408a3c27000cccd08659224f2ad2d6cb..b1287de98e86f70f50ec2cd15822de84553a3f17 100644 (file)
@@ -255,8 +255,8 @@ static int cx24123_i2c_writereg(struct cx24123_state *state,
 
        err = i2c_transfer(state->i2c, &msg, 1);
        if (err != 1) {
-               printk("%s: writereg error(err == %i, reg == 0x%02x,"
-                        " data == 0x%02x)\n", __func__, err, reg, data);
+               printk("%s: writereg error(err == %i, reg == 0x%02x, data == 0x%02x)\n",
+                      __func__, err, reg, data);
                return err;
        }
 
index 447b518e287a305b0749c1a6128cea6232f3f1a6..6dc79d4528c2beb7110a60186a80d3274df99ed0 100644 (file)
@@ -248,8 +248,8 @@ static int ds3000_writereg(struct ds3000_state *state, int reg, int data)
 
        err = i2c_transfer(state->i2c, &msg, 1);
        if (err != 1) {
-               printk(KERN_ERR "%s: writereg error(err == %i, reg == 0x%02x,"
-                        " value == 0x%02x)\n", __func__, err, reg, data);
+               printk(KERN_ERR "%s: writereg error(err == %i, reg == 0x%02x, value == 0x%02x)\n",
+                      __func__, err, reg, data);
                return -EREMOTEIO;
        }
 
@@ -296,8 +296,8 @@ static int ds3000_writeFW(struct ds3000_state *state, int reg,
 
                ret = i2c_transfer(state->i2c, &msg, 1);
                if (ret != 1) {
-                       printk(KERN_ERR "%s: write error(err == %i, "
-                               "reg == 0x%02x\n", __func__, ret, reg);
+                       printk(KERN_ERR "%s: write error(err == %i, reg == 0x%02x\n",
+                              __func__, ret, reg);
                        ret = -EREMOTEIO;
                        goto error;
                }
@@ -364,8 +364,8 @@ static int ds3000_firmware_ondemand(struct dvb_frontend *fe)
                                state->i2c->dev.parent);
        printk(KERN_INFO "%s: Waiting for firmware upload(2)...\n", __func__);
        if (ret) {
-               printk(KERN_ERR "%s: No firmware uploaded (timeout or file not "
-                               "found?)\n", __func__);
+               printk(KERN_ERR "%s: No firmware uploaded (timeout or file not found?)\n",
+                      __func__);
                return ret;
        }
 
@@ -1144,8 +1144,7 @@ static struct dvb_frontend_ops ds3000_ops = {
 module_param(debug, int, 0644);
 MODULE_PARM_DESC(debug, "Activates frontend debugging (default:0)");
 
-MODULE_DESCRIPTION("DVB Frontend module for Montage Technology "
-                       "DS3000 hardware");
+MODULE_DESCRIPTION("DVB Frontend module for Montage Technology DS3000 hardware");
 MODULE_AUTHOR("Konstantin Dimitrov <kosio.dimitrov@gmail.com>");
 MODULE_LICENSE("GPL");
 MODULE_FIRMWARE(DS3000_DEFAULT_FIRMWARE);
index 96bf254da21edc35c1af7c807dd7d1501885d04b..8cb6c56d220ac1ee2a176238ea64d8d24cea3952 100644 (file)
@@ -405,8 +405,7 @@ static int lgdt330x_set_parameters(struct dvb_frontend *fe)
                        return -1;
                }
                if (err < 0)
-                       printk(KERN_WARNING "lgdt330x: %s: error blasting "
-                              "bytes to lgdt3303 for modulation type(%d)\n",
+                       printk(KERN_WARNING "lgdt330x: %s: error blasting bytes to lgdt3303 for modulation type(%d)\n",
                               __func__, p->modulation);
 
                /*
index ef79a4ec31e21a21a4f5d4f1de596f0ea41cc3fc..3669c906ba01353abb609982caf385a5a1543269 100644 (file)
@@ -75,8 +75,8 @@ static int m88rs2000_writereg(struct m88rs2000_state *state,
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               deb_info("%s: writereg error (reg == 0x%02x, val == 0x%02x, "
-                       "ret == %i)\n", __func__, reg, data, ret);
+               deb_info("%s: writereg error (reg == 0x%02x, val == 0x%02x, ret == %i)\n",
+                        __func__, reg, data, ret);
 
        return (ret != 1) ? -EREMOTEIO : 0;
 }
@@ -618,10 +618,9 @@ static int m88rs2000_set_frontend(struct dvb_frontend *fe)
        state->no_lock_count = 0;
 
        if (c->delivery_system != SYS_DVBS) {
-                       deb_info("%s: unsupported delivery "
-                               "system selected (%d)\n",
-                               __func__, c->delivery_system);
-                       return -EOPNOTSUPP;
+               deb_info("%s: unsupported delivery system selected (%d)\n",
+                        __func__, c->delivery_system);
+               return -EOPNOTSUPP;
        }
 
        /* Set Tuner */
index fc08429c99b7debbe2848c0d2f76e1c6d15aa8ee..fdee75b1b99a5e76b68e63f0d4f29b027334689f 100644 (file)
@@ -457,8 +457,8 @@ static int mt312_read_status(struct dvb_frontend *fe, enum fe_status *s)
        if (ret < 0)
                return ret;
 
-       dprintk("QPSK_STAT_H: 0x%02x, QPSK_STAT_L: 0x%02x,"
-               " FEC_STATUS: 0x%02x\n", status[0], status[1], status[2]);
+       dprintk("QPSK_STAT_H: 0x%02x, QPSK_STAT_L: 0x%02x, FEC_STATUS: 0x%02x\n",
+               status[0], status[1], status[2]);
 
        if (status[0] & 0xc0)
                *s |= FE_HAS_SIGNAL;    /* signal noise ratio */
@@ -827,8 +827,7 @@ struct dvb_frontend *mt312_attach(const struct mt312_config *config,
                state->freq_mult = 9;
                break;
        default:
-               printk(KERN_WARNING "Only Zarlink VP310/MT312/ZL10313"
-                       " are supported chips.\n");
+               printk(KERN_WARNING "Only Zarlink VP310/MT312/ZL10313 are supported chips.\n");
                goto error;
        }
 
index 79c3040912ab5c24f23aff01e0cb1df482a75e34..7c23f0499f23e79bb32138440b6964b21dd0f83d 100644 (file)
@@ -289,8 +289,7 @@ static void nxt200x_microcontroller_stop (struct nxt200x_state* state)
                counter++;
        }
 
-       pr_warn("Timeout waiting for nxt200x to stop. This is ok after "
-               "firmware upload.\n");
+       pr_warn("Timeout waiting for nxt200x to stop. This is ok after firmware upload.\n");
        return;
 }
 
@@ -893,8 +892,8 @@ static int nxt2002_init(struct dvb_frontend* fe)
                               state->i2c->dev.parent);
        pr_debug("%s: Waiting for firmware upload(2)...\n", __func__);
        if (ret) {
-               pr_err("%s: No firmware uploaded (timeout or file not found?)"
-                      "\n", __func__);
+               pr_err("%s: No firmware uploaded (timeout or file not found?)\n",
+                      __func__);
                return ret;
        }
 
@@ -960,8 +959,8 @@ static int nxt2004_init(struct dvb_frontend* fe)
                               state->i2c->dev.parent);
        pr_debug("%s: Waiting for firmware upload(2)...\n", __func__);
        if (ret) {
-               pr_err("%s: No firmware uploaded (timeout or file not found?)"
-                      "\n", __func__);
+               pr_err("%s: No firmware uploaded (timeout or file not found?)\n",
+                      __func__);
                return ret;
        }
 
index a165af990672f2a2c196e4f961a0341796cd1ae2..bacea20822eaf7004f6cf5c16991ce7f3389dfb8 100644 (file)
@@ -342,15 +342,13 @@ static int or51132_set_parameters(struct dvb_frontend *fe)
                       fwname);
                ret = request_firmware(&fw, fwname, state->i2c->dev.parent);
                if (ret) {
-                       printk(KERN_WARNING "or51132: No firmware up"
-                              "loaded(timeout or file not found?)\n");
+                       printk(KERN_WARNING "or51132: No firmware uploaded(timeout or file not found?)\n");
                        return ret;
                }
                ret = or51132_load_firmware(fe, fw);
                release_firmware(fw);
                if (ret) {
-                       printk(KERN_WARNING "or51132: Writing firmware to "
-                              "device failed!\n");
+                       printk(KERN_WARNING "or51132: Writing firmware to device failed!\n");
                        return ret;
                }
                printk("or51132: Firmware upload complete.\n");
index e82413b975e6ff81f52b7ffe8903842c372cf94f..839479eab3b39659881528c94b2db6b0a43f7cca 100644 (file)
@@ -377,8 +377,7 @@ static int or51211_init(struct dvb_frontend* fe)
                                               OR51211_DEFAULT_FIRMWARE);
                pr_info("Got Hotplug firmware\n");
                if (ret) {
-                       pr_warn("No firmware uploaded "
-                               "(timeout or file not found?)\n");
+                       pr_warn("No firmware uploaded (timeout or file not found?)\n");
                        return ret;
                }
 
index c68965ad97c0128d70f7baaa6e1f2fa938ddeb98..56c3fb442d6c79798485379008a7f180c90a4871 100644 (file)
@@ -321,8 +321,8 @@ static int s5h1409_writereg(struct s5h1409_state *state, u8 reg, u16 data)
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               printk(KERN_ERR "%s: error (reg == 0x%02x, val == 0x%04x, "
-                      "ret == %i)\n", __func__, reg, data, ret);
+               printk(KERN_ERR "%s: error (reg == 0x%02x, val == 0x%04x, ret == %i)\n",
+                      __func__, reg, data, ret);
 
        return (ret != 1) ? -1 : 0;
 }
index 90f86e82b087e3cb19874aff7c99557a046fd65b..a861854981b7a52267021b0421667e1a9c2a938a 100644 (file)
@@ -350,8 +350,8 @@ static int s5h1411_writereg(struct s5h1411_state *state,
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               printk(KERN_ERR "%s: writereg error 0x%02x 0x%02x 0x%04x, "
-                      "ret == %i)\n", __func__, addr, reg, data, ret);
+               printk(KERN_ERR "%s: writereg error 0x%02x 0x%02x 0x%04x, ret == %i)\n",
+                      __func__, addr, reg, data, ret);
 
        return (ret != 1) ? -1 : 0;
 }
index 4215652f8eb708484bccd4595b73d2381d66bd97..5de79739cf63f3153f024774df862a487bd4920c 100644 (file)
@@ -63,8 +63,8 @@ static int s5h1432_writereg(struct s5h1432_state *state,
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               printk(KERN_ERR "%s: writereg error 0x%02x 0x%02x 0x%04x, "
-                      "ret == %i)\n", __func__, addr, reg, data, ret);
+               printk(KERN_ERR "%s: writereg error 0x%02x 0x%02x 0x%04x, ret == %i)\n",
+                      __func__, addr, reg, data, ret);
 
        return (ret != 1) ? -1 : 0;
 }
index b5e3d90eba5e919621755dd2e06c246579099ff3..98cceb149b912a220630964c91ca83ce2a077c83 100644 (file)
@@ -214,8 +214,8 @@ static int s921_i2c_writereg(struct s921_state *state,
 
        rc = i2c_transfer(state->i2c, &msg, 1);
        if (rc != 1) {
-               printk("%s: writereg rcor(rc == %i, reg == 0x%02x,"
-                        " data == 0x%02x)\n", __func__, rc, reg, data);
+               printk("%s: writereg rcor(rc == %i, reg == 0x%02x, data == 0x%02x)\n",
+                      __func__, rc, reg, data);
                return rc;
        }
 
index 62ad7a7be9f86f17c4561821c6c7feab6ec93155..32ebfb78bfdd34b6ca8def6028b7d660e0412f3d 100644 (file)
@@ -245,8 +245,8 @@ static int si21_writeregs(struct si21xx_state *state, u8 reg1,
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               dprintk("%s: writereg error (reg1 == 0x%02x, data == 0x%02x, "
-                       "ret == %i)\n", __func__, reg1, data[0], ret);
+               dprintk("%s: writereg error (reg1 == 0x%02x, data == 0x%02x, ret == %i)\n",
+                       __func__, reg1, data[0], ret);
 
        return (ret != 1) ? -EREMOTEIO : 0;
 }
@@ -265,8 +265,8 @@ static int si21_writereg(struct si21xx_state *state, u8 reg, u8 data)
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               dprintk("%s: writereg error (reg == 0x%02x, data == 0x%02x, "
-                       "ret == %i)\n", __func__, reg, data, ret);
+               dprintk("%s: writereg error (reg == 0x%02x, data == 0x%02x, ret == %i)\n",
+                       __func__, reg, data, ret);
 
        return (ret != 1) ? -EREMOTEIO : 0;
 }
index 4378fe1b978e38b1d1b2dde57f0f6b73e3545f16..f9194b7b7fec5c4f0a7bba427fb2ea8c89c66d95 100644 (file)
@@ -63,8 +63,7 @@ static int sp887x_writereg (struct sp887x_state* state, u16 reg, u16 data)
                if (!(reg == 0xf1a && data == 0x000 &&
                        (ret == -EREMOTEIO || ret == -EFAULT)))
                {
-                       printk("%s: writereg error "
-                              "(reg %03x, data %03x, ret == %i)\n",
+                       printk("%s: writereg error (reg %03x, data %03x, ret == %i)\n",
                               __func__, reg & 0xffff, data & 0xffff, ret);
                        return ret;
                }
index c93d9a45f7f79824d2c176bfb94776f0937851f7..12f6a4205e3e8c2eb7fba03a8913f1dfb6752b2b 100644 (file)
@@ -74,8 +74,8 @@ static int stv0288_writeregI(struct stv0288_state *state, u8 reg, u8 data)
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               dprintk("%s: writereg error (reg == 0x%02x, val == 0x%02x, "
-                       "ret == %i)\n", __func__, reg, data, ret);
+               dprintk("%s: writereg error (reg == 0x%02x, val == 0x%02x, ret == %i)\n",
+                       __func__, reg, data, ret);
 
        return (ret != 1) ? -EREMOTEIO : 0;
 }
@@ -465,10 +465,9 @@ static int stv0288_set_frontend(struct dvb_frontend *fe)
        dprintk("%s : FE_SET_FRONTEND\n", __func__);
 
        if (c->delivery_system != SYS_DVBS) {
-                       dprintk("%s: unsupported delivery "
-                               "system selected (%d)\n",
-                               __func__, c->delivery_system);
-                       return -EOPNOTSUPP;
+               dprintk("%s: unsupported delivery system selected (%d)\n",
+                       __func__, c->delivery_system);
+               return -EOPNOTSUPP;
        }
 
        if (state->config->set_ts_params)
index 81b27b7c0c96f587b22cde7f1690f70c32f207b7..73b4d4243b74e8252501eca983ee6c4d03fac2ac 100644 (file)
@@ -57,8 +57,8 @@ static int stv0297_writereg(struct stv0297_state *state, u8 reg, u8 data)
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               dprintk("%s: writereg error (reg == 0x%02x, val == 0x%02x, "
-                       "ret == %i)\n", __func__, reg, data, ret);
+               dprintk("%s: writereg error (reg == 0x%02x, val == 0x%02x, ret == %i)\n",
+                       __func__, reg, data, ret);
 
        return (ret != 1) ? -1 : 0;
 }
index 7927fa925f2f661814f1218cd41dd125bd9aec2d..a9b28ceb80d85dbf3acfd5f628ac8608aca08042 100644 (file)
@@ -88,8 +88,8 @@ static int stv0299_writeregI (struct stv0299_state* state, u8 reg, u8 data)
        ret = i2c_transfer (state->i2c, &msg, 1);
 
        if (ret != 1)
-               dprintk("%s: writereg error (reg == 0x%02x, val == 0x%02x, "
-                       "ret == %i)\n", __func__, reg, data, ret);
+               dprintk("%s: writereg error (reg == 0x%02x, val == 0x%02x, ret == %i)\n",
+                       __func__, reg, data, ret);
 
        return (ret != 1) ? -EREMOTEIO : 0;
 }
@@ -761,8 +761,7 @@ module_param(debug, int, 0644);
 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
 
 MODULE_DESCRIPTION("ST STV0299 DVB Demodulator driver");
-MODULE_AUTHOR("Ralph Metzler, Holger Waechtler, Peter Schildmann, Felix Domke, "
-             "Andreas Oberritter, Andrew de Quincey, Kenneth Aafly");
+MODULE_AUTHOR("Ralph Metzler, Holger Waechtler, Peter Schildmann, Felix Domke, Andreas Oberritter, Andrew de Quincey, Kenneth Aafly");
 MODULE_LICENSE("GPL");
 
 EXPORT_SYMBOL(stv0299_attach);
index fa63a9e929ced9f30b080683642fda5ad605d453..bded82774f4b5405ae1b27c47d6f4965019c49b4 100644 (file)
@@ -1485,8 +1485,7 @@ static u32 stv0900_search_srate_coarse(struct dvb_frontend *fe)
                current_step++;
                direction *= -1;
 
-               dprintk("lock: I2C_DEMOD_MODE_FIELD =0. Search started."
-                       " tuner freq=%d agc2=0x%x srate_coarse=%d tmg_cpt=%d\n",
+               dprintk("lock: I2C_DEMOD_MODE_FIELD =0. Search started. tuner freq=%d agc2=0x%x srate_coarse=%d tmg_cpt=%d\n",
                        tuner_freq, agc2_integr, coarse_srate, timingcpt);
 
                if ((timingcpt >= 5) &&
index 806c56691ca517da5bccb40e302f3b1117aa2148..4c514e6bffdafc6a4d954c4fd4a3c7725e3c1f12 100644 (file)
@@ -77,8 +77,7 @@ static int _tda10021_writereg (struct tda10021_state* state, u8 reg, u8 data)
 
        ret = i2c_transfer (state->i2c, &msg, 1);
        if (ret != 1)
-               printk("DVB: TDA10021(%d): %s, writereg error "
-                       "(reg == 0x%02x, val == 0x%02x, ret == %i)\n",
+               printk("DVB: TDA10021(%d): %s, writereg error (reg == 0x%02x, val == 0x%02x, ret == %i)\n",
                        state->frontend.dvb->num, __func__, reg, data, ret);
 
        msleep(10);
index 3b8c7e499d0d5a9aebbf3aced1c51b10f945304a..0c416be76d65a1518a2c6abf89854bd5695c77a1 100644 (file)
@@ -72,8 +72,7 @@ static u8 tda10023_readreg (struct tda10023_state* state, u8 reg)
        ret = i2c_transfer (state->i2c, msg, 2);
        if (ret != 2) {
                int num = state->frontend.dvb ? state->frontend.dvb->num : -1;
-               printk(KERN_ERR "DVB: TDA10023(%d): %s: readreg error "
-                       "(reg == 0x%02x, ret == %i)\n",
+               printk(KERN_ERR "DVB: TDA10023(%d): %s: readreg error (reg == 0x%02x, ret == %i)\n",
                        num, __func__, reg, ret);
        }
        return b1[0];
@@ -88,8 +87,7 @@ static int tda10023_writereg (struct tda10023_state* state, u8 reg, u8 data)
        ret = i2c_transfer (state->i2c, &msg, 1);
        if (ret != 1) {
                int num = state->frontend.dvb ? state->frontend.dvb->num : -1;
-               printk(KERN_ERR "DVB: TDA10023(%d): %s, writereg error "
-                       "(reg == 0x%02x, val == 0x%02x, ret == %i)\n",
+               printk(KERN_ERR "DVB: TDA10023(%d): %s, writereg error (reg == 0x%02x, val == 0x%02x, ret == %i)\n",
                        num, __func__, reg, data, ret);
        }
        return (ret != 1) ? -EREMOTEIO : 0;
index c2bf89d0b0b049b3bdff8feaa197ec1e4caa1862..7cb23f89a03bd327ea4f9ccb5eea7ffd29600d59 100644 (file)
@@ -1063,32 +1063,28 @@ static void tda10048_establish_defaults(struct dvb_frontend *fe)
        /* Validate/default the config */
        if (config->dtv6_if_freq_khz == 0) {
                config->dtv6_if_freq_khz = TDA10048_IF_4300;
-               printk(KERN_WARNING "%s() tda10048_config.dtv6_if_freq_khz "
-                       "is not set (defaulting to %d)\n",
+               printk(KERN_WARNING "%s() tda10048_config.dtv6_if_freq_khz is not set (defaulting to %d)\n",
                        __func__,
                        config->dtv6_if_freq_khz);
        }
 
        if (config->dtv7_if_freq_khz == 0) {
                config->dtv7_if_freq_khz = TDA10048_IF_4300;
-               printk(KERN_WARNING "%s() tda10048_config.dtv7_if_freq_khz "
-                       "is not set (defaulting to %d)\n",
+               printk(KERN_WARNING "%s() tda10048_config.dtv7_if_freq_khz is not set (defaulting to %d)\n",
                        __func__,
                        config->dtv7_if_freq_khz);
        }
 
        if (config->dtv8_if_freq_khz == 0) {
                config->dtv8_if_freq_khz = TDA10048_IF_4300;
-               printk(KERN_WARNING "%s() tda10048_config.dtv8_if_freq_khz "
-                       "is not set (defaulting to %d)\n",
+               printk(KERN_WARNING "%s() tda10048_config.dtv8_if_freq_khz is not set (defaulting to %d)\n",
                        __func__,
                        config->dtv8_if_freq_khz);
        }
 
        if (config->clk_freq_khz == 0) {
                config->clk_freq_khz = TDA10048_CLK_16000;
-               printk(KERN_WARNING "%s() tda10048_config.clk_freq_khz "
-                       "is not set (defaulting to %d)\n",
+               printk(KERN_WARNING "%s() tda10048_config.clk_freq_khz is not set (defaulting to %d)\n",
                        __func__,
                        config->clk_freq_khz);
        }
index b09fe88c40f876a87a8d122a5bf4d6d0361c9c3c..24ac54b3b967ca37b4a23d45f740af27bb72e3dc 100644 (file)
@@ -65,8 +65,8 @@ static int ves1820_writereg(struct ves1820_state *state, u8 reg, u8 data)
        ret = i2c_transfer(state->i2c, &msg, 1);
 
        if (ret != 1)
-               printk("ves1820: %s(): writereg error (reg == 0x%02x, "
-                       "val == 0x%02x, ret == %i)\n", __func__, reg, data, ret);
+               printk("ves1820: %s(): writereg error (reg == 0x%02x, val == 0x%02x, ret == %i)\n",
+                      __func__, reg, data, ret);
 
        return (ret != 1) ? -EREMOTEIO : 0;
 }
@@ -84,8 +84,8 @@ static u8 ves1820_readreg(struct ves1820_state *state, u8 reg)
        ret = i2c_transfer(state->i2c, msg, 2);
 
        if (ret != 2)
-               printk("ves1820: %s(): readreg error (reg == 0x%02x, "
-               "ret == %i)\n", __func__, reg, ret);
+               printk("ves1820: %s(): readreg error (reg == 0x%02x, ret == %i)\n",
+                      __func__, reg, ret);
 
        return b1[0];
 }
index 7ed81315965f7559dc82a4c29f2e4551f1c1b2cd..df5d0fe2468758da5ab6697453029868508f6fa6 100644 (file)
@@ -85,8 +85,8 @@ static int zl10036_read_status_reg(struct zl10036_state *state)
        deb_i2c("R(status): %02x  [FL=%d]\n", status,
                (status & STATUS_FL) ? 1 : 0);
        if (status & STATUS_POR)
-               deb_info("%s: Power-On-Reset bit enabled - "
-                       "need to initialize the tuner\n", __func__);
+               deb_info("%s: Power-On-Reset bit enabled - need to initialize the tuner\n",
+                        __func__);
 
        return status;
 }
index f8c271be196c19180007560b73f7272f3c804719..d6ded11fee493587aeaf56a1b870b6592fed01fd 100644 (file)
@@ -152,8 +152,7 @@ static int zl10039_init(struct dvb_frontend *fe)
        /* Reset logic */
        ret = zl10039_writereg(state, GENERAL, 0x40);
        if (ret < 0) {
-               dprintk("Note: i2c write error normal when resetting the "
-                       "tuner\n");
+               dprintk("Note: i2c write error normal when resetting the tuner\n");
        }
        /* Wake up */
        ret = zl10039_writereg(state, GENERAL, 0x01);