06 Nov, 2011

1 commit


25 Mar, 2009

1 commit


06 Aug, 2008

2 commits

  • 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
     
  • This brings the watchdog drivers into line with coding style.
    This patch takes cares of the indentation as described in chapter 1:
    The preferred way to ease multiple indentation levels in a switch
    statement is to align the "switch" and its subordinate "case"
    labels in the same column instead of "double-indenting" the "case"
    labels.

    Signed-off-by: Wim Van Sebroeck

    Wim Van Sebroeck
     

21 Jun, 2008

2 commits


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