aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/chips/pcf50633.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/pcf50633.c')
-rw-r--r--drivers/i2c/chips/pcf50633.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c
index ead4273b17f..76bb886512c 100644
--- a/drivers/i2c/chips/pcf50633.c
+++ b/drivers/i2c/chips/pcf50633.c
@@ -690,9 +690,7 @@ int pcf50633_notify_usb_current_limit_change(struct pcf50633_data *pcf,
* have to bail with error since we can't even schedule the work
*/
if (!pcf) {
- dev_err(&pcf->client.dev,
- "pcf50633_notify_usb_current_limit_change "
- "called with NULL pcf\n");
+ printk(KERN_ERR "pcf50633_notify_usb_current_limit called with NULL pcf\n");
return -EBUSY;
}