]> www.infradead.org Git - users/dwmw2/linux.git/commit
rtc: s5m: convert to dev_err_probe() where appropriate
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 4 Mar 2025 17:05:44 +0000 (17:05 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 5 Mar 2025 22:08:01 +0000 (23:08 +0100)
commit0c57c2e72c5d9fb1b165eff65a6ff88511fd9a67
tree31dd2ef9857829c2ab1bbaed12310b5018cc1bbd
parente6403ae59ce1956beb8eaa9d622090bbf98f79aa
rtc: s5m: convert to dev_err_probe() where appropriate

dev_err_probe() exists to simplify code and harmonise error messages,
there's no reason not to use it here.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250304-rtc-cleanups-v2-16-d4689a71668c@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-s5m.c