watchdog: convert drivers/watchdog/* to use module_platform_driver_probe
authorFabio Porcedda <fabio.porcedda@gmail.com>
Wed, 9 Jan 2013 11:15:27 +0000 (12:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 01:39:33 +0000 (17:39 -0800)
commit1cb9204cc6e22ec18e62ab0687e2240cbdb15200
tree1b7e4ef6521f87012818ed3bee5106db2aec48e4
parentbab734fcdf2c690371e6749ce484b17653b3cb0e
watchdog: convert drivers/watchdog/* to use module_platform_driver_probe

This makes the code a bit smaller by getting rid of
some boilerplate code.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/watchdog/at32ap700x_wdt.c
drivers/watchdog/at91sam9_wdt.c
drivers/watchdog/coh901327_wdt.c
drivers/watchdog/imx2_wdt.c
drivers/watchdog/txx9wdt.c