Skip to content

Commit f667421

Browse files
tmaimonWim Van Sebroeck
authored andcommitted
watchdog: npcm: remove whitespaces
Signed-off-by: Tomer Maimon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 982bb70 commit f667421

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

drivers/watchdog/npcm_wdt.c

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,30 +103,29 @@ static int npcm_wdt_stop(struct watchdog_device *wdd)
103103
return 0;
104104
}
105105

106-
107106
static int npcm_wdt_set_timeout(struct watchdog_device *wdd,
108107
unsigned int timeout)
109108
{
110109
if (timeout < 2)
111110
wdd->timeout = 1;
112111
else if (timeout < 3)
113-
wdd->timeout = 2;
112+
wdd->timeout = 2;
114113
else if (timeout < 6)
115-
wdd->timeout = 5;
114+
wdd->timeout = 5;
116115
else if (timeout < 11)
117-
wdd->timeout = 10;
116+
wdd->timeout = 10;
118117
else if (timeout < 22)
119-
wdd->timeout = 21;
118+
wdd->timeout = 21;
120119
else if (timeout < 44)
121-
wdd->timeout = 43;
120+
wdd->timeout = 43;
122121
else if (timeout < 87)
123-
wdd->timeout = 86;
122+
wdd->timeout = 86;
124123
else if (timeout < 173)
125-
wdd->timeout = 172;
124+
wdd->timeout = 172;
126125
else if (timeout < 688)
127-
wdd->timeout = 687;
126+
wdd->timeout = 687;
128127
else
129-
wdd->timeout = 2750;
128+
wdd->timeout = 2750;
130129

131130
if (watchdog_active(wdd))
132131
npcm_wdt_start(wdd);

0 commit comments

Comments
 (0)