]> 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)
commit0039dca651be868656af6233f734062017a9f958
treebc72d1009781c110dc62c95584dbeaa761ac7bc0
parentc780299ec4817e7ca5885dd7a204395c515baa20
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