summaryrefslogtreecommitdiff
path: root/drivers/watchdog/geodewdt.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-03-14 12:07:40 (GMT)
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 11:34:44 (GMT)
commitacaaaf62c94a786f68b35cd06979fbd2fcedc89b (patch)
treef2a7cc1867a97e9416ba896304c719bb1551706d /drivers/watchdog/geodewdt.c
parentb0e0b4b5984ab1d59bc8569d28e499820b8ea8d8 (diff)
downloadlinux-acaaaf62c94a786f68b35cd06979fbd2fcedc89b.tar.xz
watchdog: advantechwdt: 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/geodewdt.c')
0 files changed, 0 insertions, 0 deletions