]> git.baikalelectronics.ru Git - kernel.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)
commit268b5b8fb28571069cf46cd6ef1238e0c117d18d
tree46221c3b848fcc4c753ccaf38dbf5ad97aad6e1b
parent3f54d40d6d4ad279f63917f6fc5b5cdd8c5d7081
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