diff options
Diffstat (limited to 'drivers/of/overlay.c')
-rw-r--r-- | drivers/of/overlay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index 54e5af9d7377..82250815e9a5 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c | |||
@@ -379,9 +379,9 @@ int of_overlay_create(struct device_node *tree) | |||
379 | } | 379 | } |
380 | 380 | ||
381 | /* apply the changeset */ | 381 | /* apply the changeset */ |
382 | err = of_changeset_apply(&ov->cset); | 382 | err = __of_changeset_apply(&ov->cset); |
383 | if (err) { | 383 | if (err) { |
384 | pr_err("%s: of_changeset_apply() failed for tree@%s\n", | 384 | pr_err("%s: __of_changeset_apply() failed for tree@%s\n", |
385 | __func__, tree->full_name); | 385 | __func__, tree->full_name); |
386 | goto err_revert_overlay; | 386 | goto err_revert_overlay; |
387 | } | 387 | } |
@@ -511,7 +511,7 @@ int of_overlay_destroy(int id) | |||
511 | 511 | ||
512 | 512 | ||
513 | list_del(&ov->node); | 513 | list_del(&ov->node); |
514 | of_changeset_revert(&ov->cset); | 514 | __of_changeset_revert(&ov->cset); |
515 | of_free_overlay_info(ov); | 515 | of_free_overlay_info(ov); |
516 | idr_remove(&ov_idr, id); | 516 | idr_remove(&ov_idr, id); |
517 | of_changeset_destroy(&ov->cset); | 517 | of_changeset_destroy(&ov->cset); |
@@ -542,7 +542,7 @@ int of_overlay_destroy_all(void) | |||
542 | /* the tail of list is guaranteed to be safe to remove */ | 542 | /* the tail of list is guaranteed to be safe to remove */ |
543 | list_for_each_entry_safe_reverse(ov, ovn, &ov_list, node) { | 543 | list_for_each_entry_safe_reverse(ov, ovn, &ov_list, node) { |
544 | list_del(&ov->node); | 544 | list_del(&ov->node); |
545 | of_changeset_revert(&ov->cset); | 545 | __of_changeset_revert(&ov->cset); |
546 | of_free_overlay_info(ov); | 546 | of_free_overlay_info(ov); |
547 | idr_remove(&ov_idr, ov->id); | 547 | idr_remove(&ov_idr, ov->id); |
548 | kfree(ov); | 548 | kfree(ov); |