watchdog: shwdt: Use setup_timer()
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Fri, 6 May 2016 12:59:41 +0000 (18:29 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 14 May 2016 16:25:56 +0000 (18:25 +0200)
commit12fe36e2ca0e474a2d7b48ab018d16977f9745a4
treeb94381908d405cdf6f695b4e39e31c17bb8c5f2c
parentd904ac34bdbcf62a50c745cfe991681ae3948e4e
watchdog: shwdt: Use setup_timer()

The function setup_timer combines the initialization of a timer with
the initialization of the timer's function and data fields.
The multiline code for timer initialization is now replaced
with function setup_timer.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/shwdt.c