aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-06-24 04:35:40 -0400
committerPaul Mundt <lethal@linux-sh.org>2011-06-24 04:35:40 -0400
commit225ca45c3c64964163ea1fa85e2081af85956eed (patch)
treeac5aaa206aa3bb32d5891b9239b6bf26b7c143c9 /drivers/sh
parentfacbdce9a2a68098eabb06671c3b9d9b992bad60 (diff)
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)
396{ 396{
397 int ret; 397 int ret;
398 398
399 if (clk == NULL || IS_ERR(clk)) 399 if (IS_ERR_OR_NULL(clk))
400 return -EINVAL; 400 return -EINVAL;
401 401
402 /* 402 /*