X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fsh%2Fboards%2Fboard-sh7785lcr.c;h=d879848f3cdd49ac533502064b7025c39cf53ecb;hb=07d952dc669bb70a9716a81e140e89b7d4969f09;hp=ee65ff05c558d401ce844fed329ee2cc24be683f;hpb=af756e9d8873efc8b0565c06734ef12d9b652061;p=pandora-kernel.git diff --git a/arch/sh/boards/board-sh7785lcr.c b/arch/sh/boards/board-sh7785lcr.c index ee65ff05c558..d879848f3cdd 100644 --- a/arch/sh/boards/board-sh7785lcr.c +++ b/arch/sh/boards/board-sh7785lcr.c @@ -299,7 +299,7 @@ static int sh7785lcr_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, 33333333); clk_put(clk);