diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-26 01:48:47 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-26 01:48:47 +0400 |
commit | a581c72a8e9e9955714e8f3b62c46312bea3f6ba (patch) | |
tree | f73f7250cacebaae14d53421f1cd13455ca48773 | |
parent | e27ad0fe9cca5e6c98c3af6d7021690b6960adf8 (diff) | |
download | linux-a581c72a8e9e9955714e8f3b62c46312bea3f6ba.tar.xz |
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 <moinejf@free.fr>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/media/video/gspca/ov534_9.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |