diff options
| author | Matti Vaittinen <mazziesaccount@gmail.com> | 2026-01-15 12:19:04 +0200 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-01-30 22:41:17 +0100 |
| commit | 12bdf471e374b34cb0e48b29bb9eb9127ed26fc5 (patch) | |
| tree | 7891c2ed578738a348cb1c42d70c7bbee71fee2f /scripts/ksymoops | |
| parent | cb3aa2b540b0116caa900ea644d785cc583feed5 (diff) | |
power: supply: bd71828: Use dev_err_probe()
The driver uses separate error printing and error returning at probe()
for locations where the error value is hard-coded and can't be
EPROBE_DEFER. This helps to omit the extra return value check which is
done in dev_err_probe().
Using the dev_err_probe() has some other benefits besides handling the
-EPROBE_DEFER though, like standardizing the print for error numbers.
Some believe thes outweigh the benefit of skipping the extra check.
Use dev_err_probe() consistently in the bd71828 power-supply probe.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/aWi_GG74sZRfajA_@mva-rohm
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions
