mfd: rn5t618: Register restart handler
authorStefan Agner <stefan@agner.ch>
Wed, 29 Jun 2016 05:53:22 +0000 (22:53 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 29 Jun 2016 09:11:35 +0000 (10:11 +0100)
commita370f60a58ec7bad7045803041524ccdc4d79c75
tree421229d6bb43c301bbf5eb97b11c5901aae66e08
parentfd65ae4cb65a9e41af44e37318afb39045d86bf2
mfd: rn5t618: Register restart handler

Use the PMIC's repower capability for reboots. Register a restart
handler and use a slightly elevated priority of 192 since the PMIC
has suprior reset capability (causing a system wide reset).

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rn5t618.c