diff options
author | Rob Herring <robh@kernel.org> | 2018-12-11 21:31:05 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-01-10 23:24:44 +0100 |
commit | 8ce5f84157530ffa64b3e0acf00b9261f41c8da8 (patch) | |
tree | 325168c1b1daf5e03a74fc692850efc96357e413 /drivers/of/dynamic.c | |
parent | Linux 5.0-rc1 (diff) | |
download | linux-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/dynamic.c')
-rw-r--r-- | drivers/of/dynamic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c index a09c1c3cf831..49b16f76d78e 100644 --- a/drivers/of/dynamic.c +++ b/drivers/of/dynamic.c @@ -207,11 +207,8 @@ static void __of_attach_node(struct device_node *np) if (!of_node_check_flag(np, OF_OVERLAY)) { np->name = __of_get_property(np, "name", NULL); - np->type = __of_get_property(np, "device_type", NULL); if (!np->name) np->name = "<NULL>"; - if (!np->type) - np->type = "<NULL>"; phandle = __of_get_property(np, "phandle", &sz); if (!phandle) |