]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit766953ac1b6c1d3ecfad7c259b4d47bdd1447fa3
tree002bcfeec58ebac5d3be3d7cd83c2bcf7e416d6c
parentbeec7c2e25fff8d5219ba78f67088a6e35949156
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