[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200322211139.GC221863@piout.net>
Date: Sun, 22 Mar 2020 22:11:39 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Anson Huang <Anson.Huang@....com>
Cc: a.zummo@...ertech.it, linux-rtc@...r.kernel.org,
linux-kernel@...r.kernel.org, Linux-imx@....com
Subject: Re: [PATCH] rtc: mxc: Use devm_add_action_or_reset() for calls to
clk_disable_unprepare()
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 <Anson.Huang@....com>
> ---
> drivers/rtc/rtc-mxc.c | 46 +++++++++++++++++++---------------------------
> 1 file changed, 19 insertions(+), 27 deletions(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists