diff options
author | Douglas Schilling Landgraf <dougsland@redhat.com> | 2008-12-27 22:42:39 -0200 |
---|---|---|
committer | Douglas Schilling Landgraf <dougsland@redhat.com> | 2008-12-27 22:42:39 -0200 |
commit | ac1912bfe46fe3f4b3df242c7a8c374dfc168508 (patch) | |
tree | cadb80d309023ea5aa7f945106c82e4cee5ce099 /linux/drivers/media/radio/dsbr100.c | |
parent | 975cc95f066211fa3f9bd4dd089e84f02926db4d (diff) | |
download | mediapointer-dvb-s2-ac1912bfe46fe3f4b3df242c7a8c374dfc168508.tar.gz mediapointer-dvb-s2-ac1912bfe46fe3f4b3df242c7a8c374dfc168508.tar.bz2 |
dsbr100: place dev_warn instead of printk
From: Alexey Klimov <klimov.linux@gmail.com>
Remove printk in one line and place dev_warn there.
Priority: normal
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Diffstat (limited to 'linux/drivers/media/radio/dsbr100.c')
-rw-r--r-- | linux/drivers/media/radio/dsbr100.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/dsbr100.c b/linux/drivers/media/radio/dsbr100.c index a13f4eeba..be64c2a93 100644 --- a/linux/drivers/media/radio/dsbr100.c +++ b/linux/drivers/media/radio/dsbr100.c @@ -498,7 +498,8 @@ static int usb_dsbr100_open(struct inode *inode, struct file *file) retval = dsbr100_setfreq(radio, radio->curfreq); if (retval == -1) - printk(KERN_WARNING KBUILD_MODNAME ": Set frequency failed\n"); + dev_warn(&radio->usbdev->dev, + "set frequency failed\n"); unlock_kernel(); return 0; |