archive mirror
 help / color / mirror / Atom feed
From: Alexandre Belloni <>
To: Anson Huang <>
Subject: Re: [PATCH] rtc: mxc: Use devm_add_action_or_reset() for calls to clk_disable_unprepare()
Date: Sun, 22 Mar 2020 22:11:39 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 16/03/2020 17:09:45+0800, Anson Huang wrote:
> Use devm_add_action_or_reset() for calls to clk_disable_unprepare(),
> which can simplify the error handling, and .remove callback can be dropped.
> Signed-off-by: Anson Huang <>
> ---
>  drivers/rtc/rtc-mxc.c | 46 +++++++++++++++++++---------------------------
>  1 file changed, 19 insertions(+), 27 deletions(-)
Applied, thanks.

Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering

      reply	other threads:[~2020-03-22 21:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-16  9:09 [PATCH] rtc: mxc: Use devm_add_action_or_reset() for calls to clk_disable_unprepare() Anson Huang
2020-03-22 21:11 ` 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* 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).