Re: [PATCH v2 1/2] rtc: s3c: Remove unnecessary call to disable already disabled clock

From: Alexandre Belloni
Date: Tue Jul 19 2016 - 11:50:09 EST


On 05/07/2016 at 15:28:52 +0530, Alim Akhtar wrote :
> At the end of s3c_rtc_probe(), s3c_rtc_disable_clk() being called with rtc
> clock already disabled (by s3c_rtc_gettime()), which looks extra and
> unnecessary call. Lets clean it up.
>
> Signed-off-by: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>
> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
> Reviewed-by: Pankaj Dubey <pankaj.dubey@xxxxxxxxxxx>
> Tested-by: Pankaj Dubey <pankaj.dubey@xxxxxxxxxxx>
> ---
> drivers/rtc/rtc-s3c.c | 2 --
> 1 file changed, 2 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com