From: Greg Kroah-Hartman Date: Wed, 25 Apr 2012 21:48:47 +0000 (-0700) Subject: USB: ov534_9.c: remove err() usage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a581c72a8e9e9955714e8f3b62c46312bea3f6ba;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git USB: ov534_9.c: remove err() usage 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 CC: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/media/video/gspca/ov534_9.c b/drivers/media/video/gspca/ov534_9.c index e6601b886032..b5797308a39b 100644 --- a/drivers/media/video/gspca/ov534_9.c +++ b/drivers/media/video/gspca/ov534_9.c @@ -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; }