From: Stephen Boyd Date: Fri, 1 May 2015 19:21:53 +0000 (-0700) Subject: clk: bcm/kona: Silence sparse warnings X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4cca1be4bca4b21657e2d99c43710dec14658673;p=linux-beck.git clk: bcm/kona: Silence sparse warnings drivers/clk/bcm/clk-kona.c:1243:16: warning: odd constant _Bool cast (ffffffffffffffea becomes 1) Reviewed-by: Alex Elder Cc: Tim Kryger Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/bcm/clk-kona.c b/drivers/clk/bcm/clk-kona.c index a0ef4f75d457..79a98506c433 100644 --- a/drivers/clk/bcm/clk-kona.c +++ b/drivers/clk/bcm/clk-kona.c @@ -1240,7 +1240,7 @@ static bool __kona_clk_init(struct kona_clk *bcm_clk) default: BUG(); } - return -EINVAL; + return false; } /* Set a CCU and all its clocks into their desired initial state */