From b0e0b4b5984ab1d59bc8569d28e499820b8ea8d8 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 14 Mar 2014 13:04:37 +0100 Subject: [PATCH] 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-format-patch failed