Thread (3 messages) flat view 3 messages, 2 authors, 2023-06-25

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

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2023-06-25 22:53:55
Also in: kernel-janitors, linux-rtc, lkml

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help