Commit 225ca45c authored by Paul Mundt's avatar Paul Mundt

sh: clkfwk: Convert to IS_ERR_OR_NULL.

Trivial cleanup.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent facbdce9
...@@ -396,7 +396,7 @@ int clk_register(struct clk *clk) ...@@ -396,7 +396,7 @@ int clk_register(struct clk *clk)
{ {
int ret; int ret;
if (clk == NULL || IS_ERR(clk)) if (IS_ERR_OR_NULL(clk))
return -EINVAL; return -EINVAL;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment