power: supply: ltc2941: clean up error messages
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 11 Jan 2022 02:32:41 +0000 (03:32 +0100)
committerSebastian Reichel <sre@kernel.org>
Sun, 13 Feb 2022 21:21:42 +0000 (22:21 +0100)
commit513e3b53c1d535631ad206105ecb278ca56a5ce9
tree33d311ced37f726d287678584659fbdaee75427d
parentcf215c37f581c4afd6a4880eeb9f4ac70d000c32
power: supply: ltc2941: clean up error messages

Replace dev_err() with dev_err_probe() in probe() and extend register
access failure messages. dev_err()s in _reset() are removed as they
are redundant: register access wrappers already log the error.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ltc2941-battery-gauge.c