power: reset: adjust priority of simple syscon reboot driver
authorStefan Agner <stefan@agner.ch>
Tue, 2 Dec 2014 17:11:58 +0000 (18:11 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 3 Dec 2014 19:38:30 +0000 (20:38 +0100)
commitb81180b3fd4814af0459a5b6aeb1ee188fea98dc
tree8d295046d6cf7b40c702fb4a54d5ec4a6626fcf1
parent99a79565e6db676bca8c7aeddd9fec44e730965e
power: reset: adjust priority of simple syscon reboot driver

Currently, all restart handler use the priority 128, including
watchdogs. Probably most SoC have a watchdog, and some of them
register it also as a restart handler. But if a SoC specifies
a dedicated reboot capability using this syscon driver, this is
usually the preferred reboot method. Hence, raise the priority
of this driver to 192.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/syscon-reboot.c