projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
facbdce
)
sh: clkfwk: Convert to IS_ERR_OR_NULL.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 24 Jun 2011 08:35:40 +0000
(17:35 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 24 Jun 2011 08:35:40 +0000
(17:35 +0900)
Trivial cleanup.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/clk/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sh/clk/core.c
b/drivers/sh/clk/core.c
index ebeaa9e9f0684eda61a5e2f1da92c62c17eeacd0..229ad0991f2660b6ff3682124d6c22cb38cf9ad9 100644
(file)
--- a/
drivers/sh/clk/core.c
+++ b/
drivers/sh/clk/core.c
@@
-396,7
+396,7
@@
int clk_register(struct clk *clk)
{
int ret;
- if (
clk == NULL || IS_ERR
(clk))
+ if (
IS_ERR_OR_NULL
(clk))
return -EINVAL;
/*