1. 07 8月, 2008 1 次提交
  2. 06 8月, 2008 3 次提交
    • W
      [WATCHDOG] Coding style - Indentation - part 2 · 0c06090c
      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.
      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: NWim Van Sebroeck <wim@iguana.be>
      0c06090c
    • W
      [WATCHDOG] Coding style - Indentation - part 1 · 5eb82498
      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: NWim Van Sebroeck <wim@iguana.be>
      5eb82498
    • W
      [WATCHDOG] Clean-up includes · 089ab079
      Wim Van Sebroeck 提交于
      Use #include <linux/io.h> instead of <asm/io.h>
      Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
      Clean-up includes.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      089ab079
  3. 31 5月, 2008 1 次提交
  4. 25 5月, 2008 1 次提交