[media] tvp5150: convert it to use dev_foo() macros
Instead of using v4l_foo(), use the dev_foo() macros, as most modern media drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
@@ -259,8 +259,7 @@ static int snd_em28xx_capture_open(struct snd_pcm_substream *substream)
|
||||
int nonblock, ret = 0;
|
||||
|
||||
if (!dev) {
|
||||
dev_err(&dev->udev->dev,
|
||||
"BUG: em28xx can't find device struct. Can't proceed with open\n");
|
||||
pr_err("em28xx-audio: BUG: em28xx can't find device struct. Can't proceed with open\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
Referens i nytt ärende
Block a user