summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/board-urquell.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/board-urquell.c')
-rw-r--r--arch/sh/boards/board-urquell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/board-urquell.c b/arch/sh/boards/board-urquell.c
index d81c609decc7..24e3316c5c17 100644
--- a/arch/sh/boards/board-urquell.c
+++ b/arch/sh/boards/board-urquell.c
@@ -190,7 +190,7 @@ static int urquell_clk_init(void)
return -EINVAL;
clk = clk_get(NULL, "extal");
- if (!clk || IS_ERR(clk))
+ if (IS_ERR(clk))
return PTR_ERR(clk);
ret = clk_set_rate(clk, 33333333);
clk_put(clk);
OpenPOWER on IntegriCloud