summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/board-apsh4ad0a.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/board-apsh4ad0a.c')
-rw-r--r--arch/sh/boards/board-apsh4ad0a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/board-apsh4ad0a.c b/arch/sh/boards/board-apsh4ad0a.c
index e2bd218a054e..b4d6292a9247 100644
--- a/arch/sh/boards/board-apsh4ad0a.c
+++ b/arch/sh/boards/board-apsh4ad0a.c
@@ -94,7 +94,7 @@ static int apsh4ad0a_clk_init(void)
int ret;
clk = clk_get(NULL, "extal");
- if (!clk || IS_ERR(clk))
+ if (IS_ERR(clk))
return PTR_ERR(clk);
ret = clk_set_rate(clk, 33333000);
clk_put(clk);