ARM: OMAP1: ams-delta: refactor late_init()
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Sun, 27 May 2018 13:55:47 +0000 (15:55 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Jul 2018 12:26:29 +0000 (05:26 -0700)
commit3e14de3bfb3afc296a33f1ccbab6d781e5bbb482
tree002bcfeec58ebac5d3be3d7cd83c2bcf7e416d6c
parent40dda8720b8d8f972336f5b9910677e953f8232a
ARM: OMAP1: ams-delta: refactor late_init()

Before the board level GPIO handling is converted from GPIO numbers to
GPIO descriptors, split late_init() into functional blocks and move
them to separate functions.

While being at it, drop machine type check from late_init() - the
function is now called from the board init_late callback so there is
no need for yet another applicability check.

Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-ams-delta.c