projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73f5971
)
bus: imx-weim: drop unnecessary DT node name NULL check
author
Rob Herring
<robh@kernel.org>
Wed, 29 Aug 2018 20:02:58 +0000
(15:02 -0500)
committer
Shawn Guo
<shawnguo@kernel.org>
Mon, 1 Oct 2018 05:24:15 +0000
(13:24 +0800)
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>
drivers/bus/imx-weim.c
patch
|
blob
|
history
diff --git
a/drivers/bus/imx-weim.c
b/drivers/bus/imx-weim.c
index 6a94aa6a22c27ce90ab996277bbc3d5c2da50781..d84996a4528ead1c3d38ecdf74922b78c12bc2c1 100644
(file)
--- a/
drivers/bus/imx-weim.c
+++ b/
drivers/bus/imx-weim.c
@@
-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",