]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB (13289): em28xx-audio: Convert printks to em28xx_err
authorFilipe Rosset <rosset.filipe@gmail.com>
Wed, 4 Nov 2009 18:31:25 +0000 (15:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:13 +0000 (18:41 -0200)
Convert printks to em28xx_err.

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-audio.c

index ac947aecb9c37c649b97d461459f1d6e0b25fd21..bd783387b37d0cf99bba5701b185ad6cbfde4e41 100644 (file)
@@ -293,7 +293,7 @@ static int snd_em28xx_capture_open(struct snd_pcm_substream *substream)
        dprintk("opening device and trying to acquire exclusive lock\n");
 
        if (!dev) {
-               printk(KERN_ERR "BUG: em28xx can't find device struct."
+               em28xx_err("BUG: em28xx can't find device struct."
                                " Can't proceed with open\n");
                return -ENODEV;
        }
@@ -325,7 +325,7 @@ static int snd_em28xx_capture_open(struct snd_pcm_substream *substream)
 
        return 0;
 err:
-       printk(KERN_ERR "Error while configuring em28xx mixer\n");
+       em28xx_err("Error while configuring em28xx mixer\n");
        return ret;
 }