From: Hans de Goede Date: Tue, 22 May 2012 09:40:25 +0000 (+0200) Subject: watchdog: sch56xx: Remove unnecessary checks for register changes X-Git-Tag: v3.5-rc1~39^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85a2e40cb5053574cd3b1f33c00194309ce3704c;p=pandora-kernel.git watchdog: sch56xx: Remove unnecessary checks for register changes Since the watchdog core keeps track of the watchdog's active state, start/stop will never get called when no changes are necessary. So we can remove the check for the output_enable register changing before writing it (which is an expensive operation). Signed-off-by: Hans de Goede Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed