commit | 996735ffd4560ee12d8dd98ad9d27379ee943890 | [log] [tgz] |
---|---|---|
author | Jean Delvare <jdelvare@suse.de> | Fri Mar 14 13:18:47 2014 +0100 |
committer | Wim Van Sebroeck <wim@iguana.be> | Mon Mar 31 13:35:26 2014 +0200 |
tree | 13988707574e0cf78ce408558d04317b927b6236 | |
parent | 78411be4c7136054dab4635d2dbd848c3c9f7eae [diff] |
watchdog: ib700wdt: 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>