poweroff: Allow to register poweroff handlers
Allow to register handlers for poweroff. This allows to have multiple
poweroff implementations in a single binary. The implementation is close
to the restart handlers.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 441e9f5 commit dc247478c67d663b6e3f5ce639e06b23b54e6aff
@Sascha Hauer Sascha Hauer authored on 13 Mar 2017
Showing 13 changed files
View
arch/arm/Kconfig
View
arch/arm/boards/mioa701/gpio0_poweroff.c
View
arch/arm/mach-highbank/reset.c
View
arch/arm/mach-pxa/pxa2xx.c
View
arch/arm/mach-pxa/pxa3xx.c
View
arch/mips/mach-xburst/Kconfig
View
arch/mips/mach-xburst/reset-jz4750.c
View
commands/Kconfig
View
commands/poweroff.c
View
common/Makefile
View
common/poweroff.c 0 → 100644
View
include/common.h
View
include/poweroff.h 0 → 100644