Re: [PATCH 1/2] rtc: st-lpc: Release some resources in st_rtc_probe() in case of error

From: Alexandre Belloni
Date: Sun Jun 25 2023 - 18:54:02 EST



On Thu, 08 Jun 2023 21:11:42 +0200, Christophe JAILLET wrote:
> If an error occurs after clk_get(), the corresponding resources should be
> released.
>
> Use devm_clk_get() to fix it.
>
>

Applied, thanks!

[1/2] rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
commit: 06c6e1b01d9261f03629cefd1f3553503291e6cf
[2/2] rtc: st-lpc: Simplify clk handling in st_rtc_probe()
commit: 0e6f36cca1bd3f5257315b55d9f31519ea4cc059

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com