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>
This commit is contained in:
parent
e27ad0fe9c
commit
a581c72a8e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue