diff options
| author | 2026-09-21 11:41:49 +0200 | |
|---|---|---|
| committer | 2026-10-04 18:17:56 +0200 | |
| commit | f945606a8cb34c97d644ed487282f96641b05185 (patch) | |
| tree | 93edcb9233290406c67cc92a5fdec4caa308fc01 /scripts/Makefile.thinlto | |
| parent | power: supply: axp20x_usb: Introduce a helper variable for &pdev->dev (diff) | |
power: supply: axp20x_usb: Improve probe error reporting
Don't be silent about probe fail issues. Just having axp20x-usb-power-supply
in /sys/kernel/debug/devices_deferred without a reason is making it harder
than necessary to debug the actual issue. So be a bit more cooperative and
add an error message for the typical failure points.
Exit paths where the error is -ENOMEM and register write failures are
skipped, these should be quite obvious even without a dedicated error
message.
Signed-off-by: Uwe Kleine-König <ukleinek@debian.org>
Reviewed-by: Chen-Yu Tsai <wens@kernel.org>
Link: https://patch.msgid.link/b699f8251afed736af454a981630926e45eb7da7.1789983244.git.ukleinek@debian.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
