]> asedeno.scripts.mit.edu Git - linux.git/commit
power: supply: cpcap-battery: Fix pointless EPROBE_DEFER warnings
authorTony Lindgren <tony@atomide.com>
Sun, 7 Apr 2019 18:12:53 +0000 (11:12 -0700)
committerSebastian Reichel <sre@kernel.org>
Mon, 15 Apr 2019 20:53:50 +0000 (22:53 +0200)
commitffaf6f6773af7d2bad983f43f6ffb4246591a578
tree46221c3b848fcc4c753ccaf38dbf5ad97aad6e1b
parent5fc27a54192687a41df3d7fd70e0648bb1ca391e
power: supply: cpcap-battery: 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-battery.c