提交 225ca45c 编写于 作者: P Paul Mundt

sh: clkfwk: Convert to IS_ERR_OR_NULL.

Trivial cleanup.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 facbdce9
......@@ -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;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册