]> asedeno.scripts.mit.edu Git - linux.git/commit
dw2102: don't output spurious blank lines to the kernel log
authorJonathan McDowell <noodles@earth.li>
Mon, 6 Jun 2016 13:23:59 +0000 (14:23 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Jun 2016 11:35:34 +0000 (13:35 +0200)
commit05ef8e82ad0168891d4ab82293d9824bf912d40c
tree958e9e90ed6f1943cfe16dc3c2f28bc8b7517b07
parent5e0d8d59a55613f19a06c1c8b95025e6e70d1356
dw2102: don't output spurious blank lines to the kernel log

The DW2102 DVB-S/S2 driver uses the info() logging function from
dvb-usb.h. This function already appends a newline to the provided log
message, causing the dmesg output from DW2102 to include blank lines.
Fix this by removing the newline in the calls to info().

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/media/usb/dvb-usb/dw2102.c