]> git.baikalelectronics.ru Git - kernel.git/commit
of: overlay: minor restructuring
authorFrank Rowand <frank.rowand@sony.com>
Tue, 17 Oct 2017 23:36:25 +0000 (16:36 -0700)
committerRob Herring <robh@kernel.org>
Wed, 18 Oct 2017 01:46:59 +0000 (20:46 -0500)
commitda79b2f9ba874342b9d86a2621f73dbefd150218
treebc72d1009781c110dc62c95584dbeaa761ac7bc0
parent29b1706d2464da26b6d9ef6509c409a02511c8fc
of: overlay: minor restructuring

Continue improving the readability of overlay.c.  The previous patches
renamed identifiers.  This patch is split out from the previous patches
to make the previous patches easier to review.

Changes are:
  - minor code restructuring
  - some initialization of an overlay changeset occurred outside of
    init_overlay_changeset(), move that into init_overlay_changeset()
  - consolidate freeing an overlay changeset into free_overlay_changeset()

This patch is intended to not introduce any functional change.

Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/overlay.c