Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This is loosely based on the Linux notifier framework, but stripped down to the bare minimum. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>