diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-03-14 16:18:47 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-03-31 15:35:26 +0400 |
commit | 996735ffd4560ee12d8dd98ad9d27379ee943890 (patch) | |
tree | 13988707574e0cf78ce408558d04317b927b6236 /drivers/scsi | |
parent | 78411be4c7136054dab4635d2dbd848c3c9f7eae (diff) | |
download | linux-996735ffd4560ee12d8dd98ad9d27379ee943890.tar.xz |
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>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions