]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: BCM63xx: Let clk_disable() return immediately if clk is NULL
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 18 Sep 2016 18:04:35 +0000 (03:04 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 4 Oct 2016 14:13:57 +0000 (16:13 +0200)
commit00ca0250125934c8e47f58f973ea2f8905cee017
tree538ce0ec85b09a3e7b8d2003a0d53a66182f7266
parent5f92635462d64f09f4643e7c15c48ea7a1f7d2b7
MIPS: BCM63xx: 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>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: bcm-kernel-feedback-list@broadcom.com
Cc: linux-arm-kernel@lists.infradead.org
Patchwork: https://patchwork.linux-mips.org/patch/14264/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/clk.c