ARM: imx: deconstruct mx3_idle
authorArnd Bergmann <arnd@arndb.de>
Fri, 24 Jun 2016 10:49:58 +0000 (12:49 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 28 Jun 2016 02:26:37 +0000 (10:26 +0800)
commitc112d2adc32c90ff39ad39feba8c29dcb6008ff6
tree2967c1db95ff2d8fbf8f41c5ee62d3680e7079d4
parentc9ee94965dce7b66964c5f0b0db892055757d608
ARM: imx: deconstruct mx3_idle

The imx31 and imx35 idle functions are almost the same, but we
currently have to check the cpu type every time. This can be
simplified by moving the logic from mx3_cpu_lp_set() into
two separate idle functions, removing the last user of
cpu_is_mx35.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/mm-imx3.c
arch/arm/mach-imx/pm-imx3.c [deleted file]