summaryrefslogtreecommitdiffstats
path: root/drivers/clk/bcm
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-05-01 12:21:53 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-05-14 17:11:19 -0700
commit4cca1be4bca4b21657e2d99c43710dec14658673 (patch)
tree87c2304eb97efe123f90ae4ecb322ca47798dfc5 /drivers/clk/bcm
parent9a39222db60cca13c78effbff745801c7b3c17a9 (diff)
downloadop-kernel-dev-4cca1be4bca4b21657e2d99c43710dec14658673.zip
op-kernel-dev-4cca1be4bca4b21657e2d99c43710dec14658673.tar.gz
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 <elder@linaro.org> Cc: Tim Kryger <tim.kryger@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/bcm')
-rw-r--r--drivers/clk/bcm/clk-kona.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/bcm/clk-kona.c b/drivers/clk/bcm/clk-kona.c
index a0ef4f7..79a9850 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 */
OpenPOWER on IntegriCloud