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)
commite42311d75107ca78868ded0286b691aad2df1f29
tree8c192e9dd599743adf9434f2273a44b88b4c88cd
parentf2be6de88d247cd57010944f62267b53c47d5ae3
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