1
0
Fork 0

sh: clkfwk: Convert to IS_ERR_OR_NULL.

Trivial cleanup.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
hifive-unleashed-5.1
Paul Mundt 2011-06-24 17:35:40 +09:00
parent facbdce9a2
commit 225ca45c3c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
/*