summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-03-14 13:07:40 +0100
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 13:34:44 +0200
commitacaaaf62c94a786f68b35cd06979fbd2fcedc89b (patch)
treef2a7cc1867a97e9416ba896304c719bb1551706d /virt
parentb0e0b4b5984ab1d59bc8569d28e499820b8ea8d8 (diff)
downloadlwn-acaaaf62c94a786f68b35cd06979fbd2fcedc89b.tar.gz
lwn-acaaaf62c94a786f68b35cd06979fbd2fcedc89b.zip
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 'virt')
0 files changed, 0 insertions, 0 deletions