USB: ov534_9.c: remove err() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2012 21:48:47 +0000 (14:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2012 21:48:47 +0000 (14:48 -0700)
err() was a very old USB-specific macro that I thought had
gone away.  This patch removes it from being used in the
driver and uses dev_err() instead.

CC: Jean-Francois Moine <moinejf@free.fr>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/video/gspca/ov534_9.c

index e6601b8860322fe6d1c0eb31b75d58bb23cf6cc0..b5797308a39b365b2d5b075fc462efe9e2a1d977 100644 (file)
@@ -1376,7 +1376,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
                                ARRAY_SIZE(ov562x_init_2));
                reg_w(gspca_dev, 0xe0, 0x00);
        } else {
-               err("Unknown sensor %04x", sensor_id);
+               pr_err("Unknown sensor %04x", sensor_id);
                return -EINVAL;
        }