Skip to content

Commit

Permalink
sh: clkfwk: Convert to IS_ERR_OR_NULL.
Browse files Browse the repository at this point in the history
Trivial cleanup.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jun 24, 2011
1 parent facbdce commit 225ca45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sh/clk/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit 225ca45

Please sign in to comment.