diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2016-10-20 08:03:00 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-11-18 10:06:49 -0200 |
| commit | b68d75b955a62a6ade9e004b656415f346c3ad40 (patch) | |
| tree | 6d6348327b74153bce4f85ca0d1bead3ca063e15 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | a41231d52ff755597d67ce83bb36e16c47dfec91 (diff) | |
[media] msp3400-driver: don't use KERN_CONT
Drivers using dev_foo() macro should not use KERN_CONT, as, internally,
those macros work as if all strings were terminated by a \n. So, doing:
dev_info(&client->dev, "%s ", client->name);
printk(KERN_CONT "supports radio, mode is autodetect and autoselect");
Would produce the following output:
msp3400 6-0044: msp3400
supports radio, mode is autodetect and autoselect
As there's no good reason to use KERN_CONT, let's rewrite the code
to avoid that, allowing this driver to be converted to dev_foo().
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions