]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb430213979dd5457b526657da55231de65aa0a48
tree729813ce2e3b28061da687c388064ad8dee08185
parent6ae7f05c70399c2812a0a5c59898967cfa146a66
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