diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-06-24 17:35:40 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-06-24 17:35:40 +0900 |
commit | 225ca45c3c64964163ea1fa85e2081af85956eed (patch) | |
tree | ac5aaa206aa3bb32d5891b9239b6bf26b7c143c9 | |
parent | facbdce9a2a68098eabb06671c3b9d9b992bad60 (diff) |
sh: clkfwk: Convert to IS_ERR_OR_NULL.
Trivial cleanup.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-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; /* |