commit | 78411be4c7136054dab4635d2dbd848c3c9f7eae | [log] [tgz] |
---|---|---|
author | Jean Delvare <jdelvare@suse.de> | Fri Mar 14 13:16:47 2014 +0100 |
committer | Wim Van Sebroeck <wim@iguana.be> | Mon Mar 31 13:35:05 2014 +0200 |
tree | 8bb04653044e7069663a207d4bc1c08ccd7d361b | |
parent | acaaaf62c94a786f68b35cd06979fbd2fcedc89b [diff] |
watchdog: geodewdt: Use platform_driver_probe Using platform_driver_probe instead of platform_driver_register has two benefits: * The driver will fail to load if device probing fails. * The probe function can be marked __init. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>