]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9292110c79a918506687b216cfd6056aa214dbd2
tree33d311ced37f726d287678584659fbdaee75427d
parent38b40e2881c70f944e8b18554f3b6a37b58703c7
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