]> git.baikalelectronics.ru Git - kernel.git/commit
riowatchdog: Convert to pure OF driver.
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 22:35:59 +0000 (15:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 22:35:59 +0000 (15:35 -0700)
commit22707c0c27cb695b1fb2082c8a6f0391bf72e7df
tree8c192e9dd599743adf9434f2273a44b88b4c88cd
parent98e9934724887bffaf639a592424184414352685
riowatchdog: Convert to pure OF driver.

This also cleans up a lot of crud in this driver:

1) Don't touch the BBC regs, just leave the watchdog trigger
   behavior whatever the firmware programmed it to.

2) Use WATCHDOG_MINOR instead of hardcoded and not properly
   allocated RIOWD_MINOR.

Hey, I haven't touched it since I wrote it years ago :-)

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/riowatchdog.c