Skip to content

Commit

Permalink
[WATCHDOG] Make w83697h_wdt void-like functions void
Browse files Browse the repository at this point in the history
Some non-exported functions always returned 0. Mark them void instead.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Samuel Tardieu authored and Wim Van Sebroeck committed May 25, 2008
1 parent eb90d81 commit 03315ad
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions drivers/watchdog/w83697hf_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ w83697hf_init(void)
w83697hf_deselect_wdt();
}

static int
static void
wdt_ping(void)
{
spin_lock(&io_lock);
Expand All @@ -150,10 +150,9 @@ wdt_ping(void)

w83697hf_deselect_wdt();
spin_unlock(&io_lock);
return 0;
}

static int
static void
wdt_enable(void)
{
spin_lock(&io_lock);
Expand All @@ -164,10 +163,9 @@ wdt_enable(void)

w83697hf_deselect_wdt();
spin_unlock(&io_lock);
return 0;
}

static int
static void
wdt_disable(void)
{
spin_lock(&io_lock);
Expand All @@ -178,7 +176,6 @@ wdt_disable(void)

w83697hf_deselect_wdt();
spin_unlock(&io_lock);
return 0;
}

static int
Expand Down

0 comments on commit 03315ad

Please sign in to comment.