projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d643510
)
sh: Fix clock framework compiler warnings.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 18 Nov 2008 05:21:34 +0000
(14:21 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 22 Dec 2008 09:42:53 +0000
(18:42 +0900)
CC arch/sh/kernel/cpu/clock.o
arch/sh/kernel/cpu/clock.c: In function 'clk_disable':
arch/sh/kernel/cpu/clock.c:156: warning: 'return' with a value, in function returning void
Introduced by ("sh: enable and disable clocks recursively").
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/clock.c
b/arch/sh/kernel/cpu/clock.c
index
717056b
..
7b17137
100644
(file)
--- a/
arch/sh/kernel/cpu/clock.c
+++ b/
arch/sh/kernel/cpu/clock.c
@@
-153,7
+153,7
@@
void clk_disable(struct clk *clk)
unsigned long flags;
if (!clk)
- return
-EINVAL
;
+ return;
spin_lock_irqsave(&clock_lock, flags);
__clk_disable(clk);