From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Patrice Chotard <patrice.chotard@foss.st.com>,
Alessandro Zummo <a.zummo@towertech.it>,
Lee Jones <lee@kernel.org>,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org
Subject: Re: [PATCH 1/2] rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
Date: Mon, 26 Jun 2023 00:53:44 +0200 [thread overview]
Message-ID: <168773360575.108774.14111248625147359235.b4-ty@bootlin.com> (raw)
In-Reply-To: <866af6adbc7454a7b4505eb6c28fbdc86ccff39e.1686251455.git.christophe.jaillet@wanadoo.fr>
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
prev parent reply other threads:[~2023-06-25 22:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 19:11 [PATCH 1/2] rtc: st-lpc: Release some resources in st_rtc_probe() in case of error Christophe JAILLET
2023-06-08 19:12 ` [PATCH 2/2] rtc: st-lpc: Simplify clk handling in st_rtc_probe() Christophe JAILLET
2023-06-25 22:53 ` Alexandre Belloni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=168773360575.108774.14111248625147359235.b4-ty@bootlin.com \
--to=alexandre.belloni@bootlin.com \
--cc=a.zummo@towertech.it \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=patrice.chotard@foss.st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).