]> git.karo-electronics.de Git - linux-beck.git/commit
watchdog: cpwd: Use setup_timer()
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Fri, 6 May 2016 12:59:40 +0000 (18:29 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 14 May 2016 16:25:49 +0000 (18:25 +0200)
commitd904ac34bdbcf62a50c745cfe991681ae3948e4e
treef4353f84dcbf5e71dc5191ddc7ae936cb979751d
parentfc4d2c7390dde766ec62f8f83be06e9227e9eb7a
watchdog: cpwd: 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/cpwd.c