diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-06-24 10:35:40 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-06-24 10:35:40 +0200 |
commit | 225ca45c3c64964163ea1fa85e2081af85956eed (patch) | |
tree | ac5aaa206aa3bb32d5891b9239b6bf26b7c143c9 /drivers/sh | |
parent | Merge branch 'sh/clkfwk' into sh-latest (diff) | |
download | linux-225ca45c3c64964163ea1fa85e2081af85956eed.tar.xz linux-225ca45c3c64964163ea1fa85e2081af85956eed.zip |
sh: clkfwk: Convert to IS_ERR_OR_NULL.
Trivial cleanup.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r-- | drivers/sh/clk/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/clk/core.c b/drivers/sh/clk/core.c index ebeaa9e9f068..229ad0991f26 100644 --- 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; /* |