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