[WATCHDOG] ar7_wdt: convert to become a platform driver
authorFlorian Fainelli <florian@openwrt.org>
Tue, 21 Jul 2009 10:11:32 +0000 (12:11 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 18 Sep 2009 08:37:58 +0000 (08:37 +0000)
commit64d4062a3813e4816f31e2f49fd42129411975f8
treef386e40d83ca8ab21f1355d9cec4aff08161cdfe
parentdcfb748422d01245b6e89c94d85fcdb3c71a56a0
[WATCHDOG] ar7_wdt: convert to become a platform driver

This patch converts the ar7_wdt driver to become
a platform driver. The AR7 SoC specific identification
and base register calculation is performed by the board
code, therefore we no longer need to have access to
ar7_chip_id. We also remove the reboot notifier code to
use the platform shutdown method as Wim suggested.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ar7_wdt.c