]> www.infradead.org Git - users/dwmw2/linux.git/commit
rtc: pcf85063: replace dev_err+return with return dev_err_probe
authorMaud Spierings <maudspierings@gocontroll.com>
Tue, 4 Mar 2025 08:14:52 +0000 (09:14 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 1 Apr 2025 10:01:53 +0000 (12:01 +0200)
commit119e90a3a64d9dd48bcf4c2d4fc13ba6bb7d940d
treecec8f1a7eef2a5aa1d68c31f54af78a5e5036c10
parent2b7cbd98495f6ee4cd6422fe77828a19e9edf87f
rtc: pcf85063: replace dev_err+return with return dev_err_probe

Replace the dev_err plus return combo with return dev_err_probe() this
actually communicates the error type when it occurs and helps debugging
hardware issues.

Signed-off-by: Maud Spierings <maudspierings@gocontroll.com>
Link: https://lore.kernel.org/r/20250304-rtc_dev_err_probe-v1-1-9dcc042ad17e@gocontroll.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf85063.c