Re: [PATCH v5 1/3] ARM: mmp: let clk_disable() return immediately if clk is NULL

From: Arnd Bergmann
Date: Thu Mar 30 2017 - 11:39:10 EST


On Tue, Mar 28, 2017 at 11:17 AM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> In many of clk_disable() implementations, it is a no-op for a NULL
> pointer input, but this is one of the exceptions.
>
> Making it treewide consistent will allow clock consumers to call
> clk_disable() without NULL pointer check.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---
>
Applied to next/fixes-non-critical, thanks

Arnd