summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-03-14 13:18:47 +0100
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 13:35:26 +0200
commit996735ffd4560ee12d8dd98ad9d27379ee943890 (patch)
tree13988707574e0cf78ce408558d04317b927b6236 /kernel
parent78411be4c7136054dab4635d2dbd848c3c9f7eae (diff)
downloadop-kernel-dev-996735ffd4560ee12d8dd98ad9d27379ee943890.zip
op-kernel-dev-996735ffd4560ee12d8dd98ad9d27379ee943890.tar.gz
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 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud