Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 290588e0 authored by Alexey Klimov's avatar Alexey Klimov Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (10057): dsbr100: place dev_warn instead of printk



Remove printk in one line and place dev_warn there.

Signed-off-by: default avatarAlexey Klimov <klimov.linux@gmail.com>
Signed-off-by: default avatarDouglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 5609cfd2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -495,7 +495,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;