]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10b01ac17aeb1ae7961b276c4dc1803d16c9071b
tree3bb0c81613c75759cccfd7a197d7f0b9b7e0925c
parentc208253444352daf54dd742eb7b647e74d56754f
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