]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regulator: tps65219: Use dev_err_probe() instead of dev_err()
authorShree Ramamoorthy <s-ramamoorthy@ti.com>
Tue, 17 Dec 2024 20:45:23 +0000 (14:45 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 17 Dec 2024 21:19:59 +0000 (21:19 +0000)
commite7ce0437709552a5f5e577c29f3dfde620153913
treed9b6c5b1815853e31940feaa606c74b1f8767cb9
parent08242719a8af603db54a2a79234a8fe600680105
regulator: tps65219: Use dev_err_probe() instead of dev_err()

Make the error message format unified by switching from dev_err() to
dev_err_probe() where there is a chance of -EPROBE_DEFER returned. This
helps simplify the error code where possible.

Signed-off-by: Shree Ramamoorthy <s-ramamoorthy@ti.com>
Link: https://patch.msgid.link/20241217204526.1010989-2-s-ramamoorthy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps65219-regulator.c