]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
of: overlay: Fix forgotten reference to of_overlay_apply()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 9 Mar 2018 10:44:47 +0000 (11:44 +0100)
committerRob Herring <robh@kernel.org>
Sat, 17 Mar 2018 23:18:38 +0000 (18:18 -0500)
While technically the ovcs_id is still returned by of_overlay_apply(),
this is an internal function.  All public callers of of_overlay_remove()
pass an ovcs_id returned by the public function of_overlay_fdt_apply().

Fixes: 39a751a4cb7e4798 ("of: change overlay apply input data from unflattened to FDT")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/overlay.c

index 30d91f9070268ed2c6a9fa5bc3eb7b9b9ccce97a..b35fe88f18514d13eaf9460885f42657bd52ed61 100644 (file)
@@ -970,7 +970,7 @@ static int overlay_removal_is_ok(struct overlay_changeset *remove_ovcs)
  * @ovcs_id:   Pointer to overlay changeset id
  *
  * Removes an overlay if it is permissible.  @ovcs_id was previously returned
- * by of_overlay_apply().
+ * by of_overlay_fdt_apply().
  *
  * If an error occurred while attempting to revert the overlay changeset,
  * then an attempt is made to re-apply any changeset entry that was