git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: clkfwk: Convert to IS_ERR_OR_NULL.
[pandora-kernel.git]
/
drivers
/
sh
/
clk
/
core.c
diff --git
a/drivers/sh/clk/core.c
b/drivers/sh/clk/core.c
index
ebeaa9e
..
229ad09
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;
/*