summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/board-apsh4a3a.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/board-apsh4a3a.c')
-rw-r--r--arch/sh/boards/board-apsh4a3a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/board-apsh4a3a.c b/arch/sh/boards/board-apsh4a3a.c
index 8e2a270..2823619 100644
--- a/arch/sh/boards/board-apsh4a3a.c
+++ b/arch/sh/boards/board-apsh4a3a.c
@@ -116,7 +116,7 @@ static int apsh4a3a_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);
OpenPOWER on IntegriCloud