power: reset: corrections for simple syscon reboot driver
authorFeng Kan <fkan@apm.com>
Thu, 2 Oct 2014 18:24:15 +0000 (11:24 -0700)
committerSebastian Reichel <sre@kernel.org>
Fri, 3 Oct 2014 02:32:08 +0000 (04:32 +0200)
This patch is to fix some bugs in reboot driver. Which includes auto selection
of the MFD_SYSCON for the driver, use of container to locate restart handler,
correction of the count down failure timer and ordering of the header file.

Signed-off-by: Feng Kan <fkan@apm.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
[ sre: return err instead of 0 in syscon_reboot_probe() ]
Signed-off-by: Sebastian Reichel <sre@kernel.org>

No differences found