Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87972
b: refs/heads/master
c: 0e45adb
h: refs/heads/master
v: v3
  • Loading branch information
Oliver Schuster authored and Linus Torvalds committed Apr 1, 2008
1 parent a49e733 commit 55c7cd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d5f1a21ca05cad212829460ee7900915128e3401
refs/heads/master: 0e45adb8f5371f3d20a6df21cd13ce32fbe9bf15
14 changes: 2 additions & 12 deletions trunk/drivers/watchdog/it8712f_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,6 @@ superio_inw(int reg)
return val;
}

static void
superio_outw(int val, int reg)
{
outb(reg++, REG);
outb((val >> 8) & 0xff, VAL);
outb(reg, REG);
outb(val & 0xff, VAL);
}

static inline void
superio_select(int ldn)
{
Expand Down Expand Up @@ -170,9 +161,8 @@ it8712f_wdt_update_margin(void)
superio_outb(config, WDT_CONFIG);

if (revision >= 0x08)
superio_outw(units, WDT_TIMEOUT);
else
superio_outb(units, WDT_TIMEOUT);
superio_outb(units >> 8, WDT_TIMEOUT + 1);
superio_outb(units, WDT_TIMEOUT);
}

static int
Expand Down

0 comments on commit 55c7cd1

Please sign in to comment.