projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'gfs2-4.8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2...
[cascardo/linux.git]
/
arch
/
mips
/
ath79
/
clock.c
diff --git
a/arch/mips/ath79/clock.c
b/arch/mips/ath79/clock.c
index
2e73784
..
cc3a1e3
100644
(file)
--- a/
arch/mips/ath79/clock.c
+++ b/
arch/mips/ath79/clock.c
@@
-96,7
+96,7
@@
static struct clk * __init ath79_reg_ffclk(const char *name,
struct clk *clk;
clk = clk_register_fixed_factor(NULL, name, parent_name, 0, mult, div);
- if (
!clk
)
+ if (
IS_ERR(clk)
)
panic("failed to allocate %s clock structure", name);
return clk;