diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-03-14 16:04:37 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-03-31 15:34:30 +0400 |
commit | b0e0b4b5984ab1d59bc8569d28e499820b8ea8d8 (patch) | |
tree | 30b60ccd17c9782b63987b95cbf9e68db979ba2a /drivers/watchdog/ie6xx_wdt.c | |
parent | c90789baa8cec363093c5ec292c989b6f22d8f32 (diff) | |
download | linux-b0e0b4b5984ab1d59bc8569d28e499820b8ea8d8.tar.xz |
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>
Diffstat (limited to 'drivers/watchdog/ie6xx_wdt.c')
0 files changed, 0 insertions, 0 deletions