Christophe JAILLET 0e6f36cca1 rtc: st-lpc: Simplify clk handling in st_rtc_probe()
Use devm_clk_get_enabled() instead of hand writing it. This simplifies
error handling and removes some lines of code.

Also use dev_err_probe() which filters -EPROBE_DEFER.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/992dd8c31be0bb5b8a9d8b5e8e94807ab0848a66.1686251455.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-06-26 00:53:19 +02:00
..
2022-06-24 21:24:02 +02:00
2023-06-06 23:33:25 +02:00
2021-08-10 23:21:46 +02:00
2023-03-03 09:15:50 -08:00
2022-06-24 21:24:02 +02:00
2021-12-02 23:23:38 +01:00
2021-04-29 23:03:26 +02:00
2021-05-25 00:41:25 +02:00
2021-10-01 23:28:28 +02:00
2021-01-16 23:19:26 +01:00
2022-04-19 16:27:05 +02:00
2023-04-26 11:40:26 +01:00
2020-12-03 23:43:23 +01:00