diff options
Diffstat (limited to 'linux/drivers/media/video/usbvision/usbvision-i2c.c')
-rw-r--r-- | linux/drivers/media/video/usbvision/usbvision-i2c.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-i2c.c b/linux/drivers/media/video/usbvision/usbvision-i2c.c index 4c74861f4..1d37e6206 100644 --- a/linux/drivers/media/video/usbvision/usbvision-i2c.c +++ b/linux/drivers/media/video/usbvision/usbvision-i2c.c @@ -120,8 +120,7 @@ static inline int usb_find_address(struct i2c_adapter *i2c_adap, /* try extended address code... */ ret = try_write_address(i2c_adap, addr, retries); if (ret != 1) { - dev_err(&i2c_adap->dev, - "died at extended address code, while writing\n"); + err("died at extended address code, while writing"); return -EREMOTEIO; } add[0] = addr; @@ -130,8 +129,7 @@ static inline int usb_find_address(struct i2c_adapter *i2c_adap, addr |= 0x01; ret = try_read_address(i2c_adap, addr, retries); if (ret != 1) { - dev_err(&i2c_adap->dev, - "died at extended address code, while reading\n"); + err("died at extended address code, while reading"); return -EREMOTEIO; } } |