29 Oct, 2008

1 commit


07 Aug, 2008

1 commit


06 Aug, 2008

1 commit

  • This brings the watchdog drivers into line with coding style.
    This patch takes cares of the indentation as described in chapter 1.
    Main changes:
    * Re-structure the ioctl switch call for all drivers as follows:
    switch (cmd) {
    case WDIOC_GETSUPPORT:
    case WDIOC_GETSTATUS:
    case WDIOC_GETBOOTSTATUS:
    case WDIOC_GETTEMP:
    case WDIOC_SETOPTIONS:
    case WDIOC_KEEPALIVE:
    case WDIOC_SETTIMEOUT:
    case WDIOC_GETTIMEOUT:
    case WDIOC_GETTIMELEFT:
    default:
    }

    This to make the migration from the drivers to the uniform watchdog
    device driver easier in the future.

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck
     

22 Jun, 2008

1 commit


03 Nov, 2007

1 commit

  • Some watchdog drivers initialize global spinlocks in module's init function
    which is tolerable, but some do it in PCI probe function. So, switch to
    static initialization to fix theoretical bugs and, more importantly, stop
    giving people bad examples.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Wim Van Sebroeck
    Signed-off-by: Andrew Morton

    Alexey Dobriyan
     

18 Oct, 2007

1 commit