From: Hans de Goede Date: Mon, 12 Sep 2011 09:56:59 +0000 (+0200) Subject: watchdog: watchdog_dev: Let the driver update the timeout field on set_timeout success X-Git-Tag: v3.4-rc1~67^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10f7c12e051762b84457f6d38d4b71acbf76a02;p=pandora-kernel.git watchdog: watchdog_dev: Let the driver update the timeout field on set_timeout success When a set_timeout operation succeeds this does not necessarily mean that the exact timeout requested has been achieved, because the watchdog does not necessarily have a 1 second resolution. So rather then have the core set the timeout member of the watchdog_device struct to the exact requested value, instead the driver should set it to the actually achieved timeout value. Signed-off-by: Hans de Goede Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed