power: bq25890: add return values to error messages
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Thu, 14 Oct 2021 09:45:33 +0000 (11:45 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 18 Oct 2021 16:27:40 +0000 (18:27 +0200)
commit172d0ccea55ce69718bac693d2ea9341fb61b6c7
tree3bb0c81613c75759cccfd7a197d7f0b9b7e0925c
parent5b5100c569b533195d9535fd2155d9f1cf389d0c
power: bq25890: add return values to error messages

Add more details to the error messages that indicate what went wrong
and use dev_err_probe() at a few places in the probe() path in order
to avoid error messages for deferred probe after which the driver probes
correctly.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq25890_charger.c