diff options
author | 2025-08-19 12:40:41 +0300 | |
---|---|---|
committer | 2025-08-19 16:51:03 +0100 | |
commit | 11cd7a5c21db020b8001aedcae27bd3fa9e1e901 (patch) | |
tree | be67801b61f8c391a6895df7e408dcbe96017b1f /tools/perf/scripts/python | |
parent | regulator: pca9450: Use devm_register_sys_off_handler (diff) | |
download | wireguard-linux-11cd7a5c21db020b8001aedcae27bd3fa9e1e901.tar.xz wireguard-linux-11cd7a5c21db020b8001aedcae27bd3fa9e1e901.zip |
regulator: tps65219: regulator: tps65219: Fix error codes in probe()
There is a copy and paste error and we accidentally use "PTR_ERR(rdev)"
instead of "error". The "rdev" pointer is valid at this point.
Also there is no need to print the error code in the error message
because dev_err_probe() already prints that. So clean up the error
message a bit.
Fixes: 38c9f98db20a ("regulator: tps65219: Add support for TPS65215 Regulator IRQs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aKRGmVdbvT1HBvm8@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions