]> www.infradead.org Git - users/dwmw2/linux.git/commit
rtc: max77686: use dev_err_probe() where appropriate
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 4 Mar 2025 17:05:43 +0000 (17:05 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 5 Mar 2025 22:08:01 +0000 (23:08 +0100)
commite6403ae59ce1956beb8eaa9d622090bbf98f79aa
tree24600392162fe2878b371c631dde4a0e109dfa8b
parent6158c6b82444e628fdbde9ae6b76872e7ac4e7f5
rtc: max77686: use 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-15-d4689a71668c@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-max77686.c