[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <168773360575.108774.14111248625147359235.b4-ty@bootlin.com>
Date:   Mon, 26 Jun 2023 00:53:44 +0200
From:   Alexandre Belloni <alexandre.belloni@...tlin.com>
To:     Patrice Chotard <patrice.chotard@...s.st.com>,
        Alessandro Zummo <a.zummo@...ertech.it>,
        Lee Jones <lee@...nel.org>,
        Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc:     linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, linux-rtc@...r.kernel.org
Subject: Re: [PATCH 1/2] rtc: st-lpc: Release some resources in
 st_rtc_probe() in case of error
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
Powered by blists - more mailing lists
 
