summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-06-24 12:35:40 +0400
committerPaul Mundt <lethal@linux-sh.org>2011-06-24 12:35:40 +0400
commit225ca45c3c64964163ea1fa85e2081af85956eed (patch)
treeac5aaa206aa3bb32d5891b9239b6bf26b7c143c9 /drivers/sh
parentfacbdce9a2a68098eabb06671c3b9d9b992bad60 (diff)
downloadlinux-225ca45c3c64964163ea1fa85e2081af85956eed.tar.xz
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.c2
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;
/*