Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cde10ba3ba439592d1bc094102ebfccdeee80cf9
Commit:     cde10ba3ba439592d1bc094102ebfccdeee80cf9
Parent:     03bbe082cffc4533f6557bf23f0c672307067246
Author:     Wim Van Sebroeck <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 18 21:01:34 2008 +0000
Committer:  Wim Van Sebroeck <[EMAIL PROTECTED]>
CommitDate: Fri Jan 18 21:01:34 2008 +0000

    [WATCHDOG] Revert "Stop looking for device as soon as one is found"
    
    This reverts commit 3ff6eb4a2fe5757cbe7c5d57c8eb60ab0775f2f0.
    
    the !found check in the for loop allready made sure that only one
    device was found.
    
    Signed-Off-By: Pádraig Brady <[EMAIL PROTECTED]>
    Signed-Off-By: Wim Van Sebroeck <[EMAIL PROTECTED]>
---
 drivers/watchdog/w83697hf_wdt.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/watchdog/w83697hf_wdt.c b/drivers/watchdog/w83697hf_wdt.c
index 6ea125e..c622a0e 100644
--- a/drivers/watchdog/w83697hf_wdt.c
+++ b/drivers/watchdog/w83697hf_wdt.c
@@ -382,10 +382,8 @@ wdt_init(void)
                /* we will autodetect the W83697HF/HG watchdog */
                for (i = 0; ((!found) && (w83697hf_ioports[i] != 0)); i++) {
                        wdt_io = w83697hf_ioports[i];
-                       if (!w83697hf_check_wdt()) {
+                       if (!w83697hf_check_wdt())
                                found++;
-                               break;
-                       }
                }
        } else {
                if (!w83697hf_check_wdt())
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to