ARM: imx: rework mx27_pm_init() call
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Jun 2016 02:22:16 +0000 (10:22 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 28 Jun 2016 02:26:40 +0000 (10:26 +0800)
commit48e076dadd0a79047befa539487d8645ded0b7e7
tree64e419bda75c07934bcf1a66708140b706dbac6c
parentc112d2adc32c90ff39ad39feba8c29dcb6008ff6
ARM: imx: rework mx27_pm_init() call

mx27_pm_init() uses its own initcall, unlike all of the other
functions like it. Replacing the initcall with a .init_late()
callback makes imx27 more like the others and lets us remove
the last caller of cpu_is_mx27().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/imx27-dt.c
arch/arm/mach-imx/mm-imx27.c
arch/arm/mach-imx/pm-imx27.c