]> git.baikalelectronics.ru Git - kernel.git/commit
[WATCHDOG] timers cleanup
authorJiri Slaby <jirislaby@gmail.com>
Thu, 8 Feb 2007 17:39:36 +0000 (18:39 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 12 Feb 2007 21:43:02 +0000 (22:43 +0100)
commit2797766b1205ddb5523d5c1bf592990367d0f5b6
tree6735317bd9c19574f85fa7e21d0071562e824355
parent53e9bda9f46891ddf657364cc4903b1d23129d93
[WATCHDOG] timers cleanup

- Use timer macros to set function and data members and to modify
  expiration time.
- Use DEFINE_TIMER for single (platform dependent) watchdog timers and
  do not init them at run-time in these cases.
- del_timer_sync is common in most cases -- we want to wait for timer
  function if it's still running.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Steve Hill <steve@navaho.co.uk>
Cc: Heiko Ronsdorf <hero@ihg.uni-duisburg.de>
Cc: Fernando Fuganti <fuganti@conectiva.com.br>
Cc: Gergely Madarasz <gorgo@itc.hu>
Cc: Ken Hollis <khollis@bitgate.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/char/watchdog/alim7101_wdt.c
drivers/char/watchdog/cpu5wdt.c
drivers/char/watchdog/machzwd.c
drivers/char/watchdog/mixcomwd.c
drivers/char/watchdog/pcwd.c
drivers/char/watchdog/sbc60xxwdt.c
drivers/char/watchdog/sc520_wdt.c
drivers/char/watchdog/shwdt.c
drivers/char/watchdog/w83877f_wdt.c