From: Jean Delvare Date: Fri, 14 Mar 2014 12:04:37 +0000 (+0100) Subject: watchdog: acquirewdt: Use platform_driver_probe X-Git-Tag: v3.15-rc1~146^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e0b4b5984ab1d59bc8569d28e499820b8ea8d8;p=pandora-kernel.git watchdog: acquirewdt: 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