summaryrefslogtreecommitdiffstats
path: root/drivers/of/pdt.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-12-11 21:31:05 +0100
committerRob Herring <robh@kernel.org>2019-01-10 23:24:44 +0100
commit8ce5f84157530ffa64b3e0acf00b9261f41c8da8 (patch)
tree325168c1b1daf5e03a74fc692850efc96357e413 /drivers/of/pdt.c
parentLinux 5.0-rc1 (diff)
downloadlinux-8ce5f84157530ffa64b3e0acf00b9261f41c8da8.tar.xz
linux-8ce5f84157530ffa64b3e0acf00b9261f41c8da8.zip
of: Remove struct device_node.type pointer
Now that all users of device_node.type pointer have been removed in favor of accessor functions, we can remove it. Cc: Frank Rowand <frowand.list@gmail.com> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/pdt.c')
-rw-r--r--drivers/of/pdt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/of/pdt.c b/drivers/of/pdt.c
index d3185063d369..7eda43c66c91 100644
--- a/drivers/of/pdt.c
+++ b/drivers/of/pdt.c
@@ -155,7 +155,6 @@ static struct device_node * __init of_pdt_create_node(phandle node,
dp->parent = parent;
dp->name = of_pdt_get_one_property(node, "name");
- dp->type = of_pdt_get_one_property(node, "device_type");
dp->phandle = node;
dp->properties = of_pdt_build_prop_list(node);