diff options
Diffstat (limited to 'drivers/of/overlay.c')
-rw-r--r-- | drivers/of/overlay.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index 2b5ac43a5690..c423e94baf0f 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c | |||
@@ -423,12 +423,9 @@ static int add_changeset_node(struct overlay_changeset *ovcs, | |||
423 | 423 | ||
424 | tchild->parent = target->np; | 424 | tchild->parent = target->np; |
425 | tchild->name = __of_get_property(node, "name", NULL); | 425 | tchild->name = __of_get_property(node, "name", NULL); |
426 | tchild->type = __of_get_property(node, "device_type", NULL); | ||
427 | 426 | ||
428 | if (!tchild->name) | 427 | if (!tchild->name) |
429 | tchild->name = "<NULL>"; | 428 | tchild->name = "<NULL>"; |
430 | if (!tchild->type) | ||
431 | tchild->type = "<NULL>"; | ||
432 | 429 | ||
433 | /* ignore obsolete "linux,phandle" */ | 430 | /* ignore obsolete "linux,phandle" */ |
434 | phandle = __of_get_property(node, "phandle", &size); | 431 | phandle = __of_get_property(node, "phandle", &size); |