]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: AT91: pm: Factorize standby function
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 16 Oct 2013 14:24:56 +0000 (16:24 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 16 Oct 2013 21:51:36 +0000 (23:51 +0200)
commit2d2c476f3c075bd2fdfce479245b2bf4d0879ec6
treef7aef34e66d8e450095cb90205c1b8be64087cc0
parent1ce3c48e6c76920fa46bfdde84a69e155f880c32
ARM: AT91: pm: Factorize standby function

Detect presence of second bank. So we do not need to have on function per SoC

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm/mach-at91/at91sam9260.c
arch/arm/mach-at91/at91sam9261.c
arch/arm/mach-at91/at91sam9263.c
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9rl.c
arch/arm/mach-at91/pm.h