projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a39222
)
clk: bcm/kona: Silence sparse warnings
author
Stephen Boyd
<sboyd@codeaurora.org>
Fri, 1 May 2015 19:21:53 +0000
(12:21 -0700)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Fri, 15 May 2015 00:11:19 +0000
(17:11 -0700)
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>
drivers/clk/bcm/clk-kona.c
patch
|
blob
|
history
diff --git
a/drivers/clk/bcm/clk-kona.c
b/drivers/clk/bcm/clk-kona.c
index
a0ef4f7
..
79a9850
100644
(file)
--- 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 */