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: Rob Herring <robh@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Родитель
73f59712a1
Коммит
b1a2344536
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче