mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
sh: clkfwk: Convert to IS_ERR_OR_NULL.
Trivial cleanup. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
facbdce9a2
commit
225ca45c3c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue