]> git.baikalelectronics.ru Git - kernel.git/commit
[WATCHDOG] davinci_wdt clean-up
authorWim Van Sebroeck <wim@iguana.be>
Fri, 20 Jul 2007 21:47:55 +0000 (21:47 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 23 Jul 2007 17:24:38 +0000 (17:24 +0000)
commitf83210843074ea2b2944c9a7f8032a40c22e6731
tree6fbaa129dd1445de663596e665a874ad0cda5393
parent6c173a6952179955baf42207ac9b53e5f05f56c9
[WATCHDOG] davinci_wdt clean-up

* Remove the redundant check for pwrite(), given that the open() routine
  already invokes nonseekable_open().
* The WDIOF_CARDRESET flag can only be used when you can read this status
  via the WDIOC_GETSTATUS ioctl call.
* Add the mandatory WDIOC_GETBOOTSTATUS ioctl call.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/davinci_wdt.c