commit | b0e0b4b5984ab1d59bc8569d28e499820b8ea8d8 | [log] [tgz] |
---|---|---|
author | Jean Delvare <jdelvare@suse.de> | Fri Mar 14 13:04:37 2014 +0100 |
committer | Wim Van Sebroeck <wim@iguana.be> | Mon Mar 31 13:34:30 2014 +0200 |
tree | 30b60ccd17c9782b63987b95cbf9e68db979ba2a | |
parent | c90789baa8cec363093c5ec292c989b6f22d8f32 [diff] |
watchdog: acquirewdt: 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>