OSDN Git Service

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)
commit61b4de4e0b384f4a22c55c3bada604da49cec4e1
treebc72d1009781c110dc62c95584dbeaa761ac7bc0
parent42b2e94fe83c354b4373992c8ea28ef0ace2e633
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