power: supply: cpcap-charger: Fix pointless EPROBE_DEFER warnings
authorTony Lindgren <tony@atomide.com>
Sun, 7 Apr 2019 18:12:54 +0000 (11:12 -0700)
committerSebastian Reichel <sre@kernel.org>
Mon, 15 Apr 2019 20:54:06 +0000 (22:54 +0200)
commit7d90fcc14a25b1ba715427f2af706809bb56a6f4
tree08752a7dec02d3ce9e7453ebc8c5c18d2f4fe844
parentffaf6f6773af7d2bad983f43f6ffb4246591a578
power: supply: cpcap-charger: Fix pointless EPROBE_DEFER warnings

With loadable modules we may get the following during init:

could not initialize VBUS or ID IIO: -517

Let's not print any pointless error messages for deferred probe.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cpcap-charger.c