projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
power: supply: cpcap-charger: Fix pointless EPROBE_DEFER warnings
[linux-2.6-microblaze.git]
/
drivers
/
power
/
supply
/
cpcap-charger.c
diff --git
a/drivers/power/supply/cpcap-charger.c
b/drivers/power/supply/cpcap-charger.c
index
c3ed7b4
..
b4781b5
100644
(file)
--- a/
drivers/power/supply/cpcap-charger.c
+++ b/
drivers/power/supply/cpcap-charger.c
@@
-574,8
+574,9
@@
static int cpcap_charger_init_iio(struct cpcap_charger_ddata *ddata)
return 0;
out_err:
- dev_err(ddata->dev, "could not initialize VBUS or ID IIO: %i\n",
- error);
+ if (error != -EPROBE_DEFER)
+ dev_err(ddata->dev, "could not initialize VBUS or ID IIO: %i\n",
+ error);
return error;
}