Skip to content

Commit

Permalink
[WATCHDOG] i6300esb.c: Cleanup
Browse files Browse the repository at this point in the history
Cleanup to keep checkpatch.pl happy.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Wim Van Sebroeck committed Apr 8, 2009
1 parent 577c9c4 commit bd4e6c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/watchdog/i6300esb.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
#define ESB_LOCK_REG 0x68 /* WDT lock register */

/* Memory mapped registers */
#define ESB_TIMER1_REG BASEADDR + 0x00 /* Timer1 value after each reset */
#define ESB_TIMER2_REG BASEADDR + 0x04 /* Timer2 value after each reset */
#define ESB_GINTSR_REG BASEADDR + 0x08 /* General Interrupt Status Register */
#define ESB_RELOAD_REG BASEADDR + 0x0c /* Reload register */
#define ESB_TIMER1_REG (BASEADDR + 0x00)/* Timer1 value after each reset */
#define ESB_TIMER2_REG (BASEADDR + 0x04)/* Timer2 value after each reset */
#define ESB_GINTSR_REG (BASEADDR + 0x08)/* General Interrupt Status Register */
#define ESB_RELOAD_REG (BASEADDR + 0x0c)/* Reload register */

/* Lock register bits */
#define ESB_WDT_FUNC (0x01 << 2) /* Watchdog functionality */
Expand Down Expand Up @@ -143,7 +143,7 @@ static int esb_timer_stop(void)
spin_unlock(&esb_lock);

/* Returns 0 if the timer was disabled, non-zero otherwise */
return (val & 0x01);
return val & 0x01;
}

static void esb_timer_keepalive(void)
Expand Down

0 comments on commit bd4e6c1

Please sign in to comment.