OSDN Git Service

media: m88ds3103: Add missing '\n' in log messages
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 11 Apr 2020 14:27:29 +0000 (16:27 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 10:56:27 +0000 (12:56 +0200)
Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'.

While at it, change the log level from 'err' to 'debug'.

Fixes: e6089feca460 ("media: m88ds3103: Add support for ds3103b demod")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/dvb-frontends/m88ds3103.c

index d2c28dc..bc356ac 100644 (file)
@@ -1898,7 +1898,7 @@ static int m88ds3103_probe(struct i2c_client *client,
                if (ret)
                        goto err_kfree;
                dev->dt_addr = ((utmp & 0x80) == 0) ? 0x42 >> 1 : 0x40 >> 1;
-               dev_err(&client->dev, "dt addr is 0x%02x", dev->dt_addr);
+               dev_dbg(&client->dev, "dt addr is 0x%02x\n", dev->dt_addr);
 
                dev->dt_client = i2c_new_dummy_device(client->adapter,
                                                      dev->dt_addr);