From: Jean Delvare Date: Fri, 14 Mar 2014 12:07:40 +0000 (+0100) Subject: watchdog: advantechwdt: Use platform_driver_probe X-Git-Tag: v3.15-rc1~146^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acaaaf62c94a786f68b35cd06979fbd2fcedc89b;p=pandora-kernel.git 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 Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed