• Wim Van Sebroeck's avatar
    [WATCHDOG] davinci_wdt clean-up · f1a08cc9
    Wim Van Sebroeck authored
    * 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: default avatarWim Van Sebroeck <wim@iguana.be>
    f1a08cc9
davinci_wdt.c 6.49 KB