]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
power: supply: generic-adc-battery: improve error message
authorSebastian Reichel <sre@kernel.org>
Fri, 17 Mar 2023 22:57:06 +0000 (23:57 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 29 Mar 2023 20:38:57 +0000 (22:38 +0200)
commit4fc1befb3a30d76a3f4b19833d45fb81ab1652b1
tree3fcd7af5c19eacc7a2c2a23ab456f564c6f34506
parentca0f6e0d1499e8e23e340d8b7187eeec5c4f6593
power: supply: generic-adc-battery: improve error message

Add device context and error code to the error messages to make it
useful.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/generic-adc-battery.c