diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-27 14:38:25 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2013-03-01 11:22:29 (GMT) |
commit | 0f2ad9ed7c6fecb008372e8a709595a2a21059aa (patch) | |
tree | 72042d4dd40ca8b85d7b8072b2482f0f974b8391 /drivers/watchdog/ath79_wdt.c | |
parent | 5071a88475b758bf60191e53606463fe7290c71e (diff) | |
download | linux-0f2ad9ed7c6fecb008372e8a709595a2a21059aa.tar.xz |
MIPS: ath79: use dynamically allocated watchdog device
Remove the static watchdog device variable and use
the 'platform_device_register_simple' helper to
allocate and register the device in one step.
This allows us to save a few bytes in the kernel image.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/ath79_wdt.c')
0 files changed, 0 insertions, 0 deletions