m68k: let clk_disable() return immediately if clk is NULL
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 18 Sep 2016 18:01:14 +0000 (03:01 +0900)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 26 Sep 2016 02:02:59 +0000 (12:02 +1000)
commit742859adc721da65ff4e8b59412d73bd3d2a57fe
treed1b050cf73bdab50f22636753aae8028628ccc23
parent3ec53d6fceedbe0a5af0bb7dcb42e82dabd795d3
m68k: let clk_disable() return immediately if clk is NULL

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@socionext.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/coldfire/clk.c