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

Commit b1a23445 authored by Rob Herring's avatar Rob Herring Committed by Shawn Guo
Browse files

bus: imx-weim: drop unnecessary DT node name NULL check



Checking the child node names is pointless as the DT node name can
never be NULL, so remove it.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 73f59712
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -156,9 +156,6 @@ static int __init weim_parse_dt(struct platform_device *pdev,
	}

	for_each_available_child_of_node(pdev->dev.of_node, child) {
		if (!child->name)
			continue;

		ret = weim_timing_setup(child, base, devtype);
		if (ret)
			dev_warn(&pdev->dev, "%pOF set timing failed.\n",