diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-03-14 13:16:47 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-03-31 13:35:05 +0200 |
commit | 78411be4c7136054dab4635d2dbd848c3c9f7eae (patch) | |
tree | 8bb04653044e7069663a207d4bc1c08ccd7d361b /drivers/watchdog/ib700wdt.c | |
parent | watchdog: advantechwdt: Use platform_driver_probe (diff) | |
download | linux-78411be4c7136054dab4635d2dbd848c3c9f7eae.tar.xz linux-78411be4c7136054dab4635d2dbd848c3c9f7eae.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions