of: overlay: Simplify of_overlay_fdt_apply() tail
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 15 Jul 2022 14:03:15 +0000 (16:03 +0200)
committerRob Herring <robh@kernel.org>
Tue, 19 Jul 2022 21:56:48 +0000 (15:56 -0600)
commite76f4a6107ebe4af5405bb1b94d0e717a40fd306
tree729813ce2e3b28061da687c388064ad8dee08185
parente385b0ba6a137f34953e746d70d543660c2de1a0
of: overlay: Simplify of_overlay_fdt_apply() tail

It does not hurt to fill in the changeset id while the mutex is still
held.  After doing so, the function tails for the success and failure
cases become identical, so they can be unified.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Tested-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/6a3357a8f7f29704350e3ffae768ee8a462b54d3.1657893306.git.geert+renesas@glider.be
drivers/of/overlay.c