Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

sh: clkfwk: Convert to IS_ERR_OR_NULL.



Trivial cleanup.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent facbdce9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;


	/*
	/*