[WATCHDOG] at32ap700x_wdt.c - checkpatch.pl-0.05 clean-up's

need space after that ',' (ctx:VxV)
inline keyword should sit between storage class and type

Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Wim Van Sebroeck 2007-06-17 19:34:23 +00:00
parent e8ef92b8dc
commit c0ead7e0ff

View File

@ -51,7 +51,7 @@ static struct wdt_at32ap700x *wdt;
/* /*
* Disable the watchdog. * Disable the watchdog.
*/ */
static void inline at32_wdt_stop(void) static inline void at32_wdt_stop(void)
{ {
unsigned long psel = wdt_readl(wdt, CTRL) & WDT_BF(CTRL_PSEL, 0x0f); unsigned long psel = wdt_readl(wdt, CTRL) & WDT_BF(CTRL_PSEL, 0x0f);
wdt_writel(wdt, CTRL, psel | WDT_BF(CTRL_KEY, 0x55)); wdt_writel(wdt, CTRL, psel | WDT_BF(CTRL_KEY, 0x55));
@ -61,7 +61,7 @@ static void inline at32_wdt_stop(void)
/* /*
* Enable and reset the watchdog. * Enable and reset the watchdog.
*/ */
static void inline at32_wdt_start(void) static inline void at32_wdt_start(void)
{ {
/* 0xf is 2^16 divider = 2 sec, 0xe is 2^15 divider = 1 sec */ /* 0xf is 2^16 divider = 2 sec, 0xe is 2^15 divider = 1 sec */
unsigned long psel = (wdt->timeout > 1) ? 0xf : 0xe; unsigned long psel = (wdt->timeout > 1) ? 0xf : 0xe;
@ -77,7 +77,7 @@ static void inline at32_wdt_start(void)
/* /*
* Pat the watchdog timer. * Pat the watchdog timer.
*/ */
static void inline at32_wdt_pat(void) static inline void at32_wdt_pat(void)
{ {
wdt_writel(wdt, CLR, 0x42); wdt_writel(wdt, CLR, 0x42);
} }