watchdog: iTCO_wdt: use module_platform_device() macro
authorEnrico Weigelt, metux IT consult <info@metux.net>
Tue, 17 Nov 2020 15:22:12 +0000 (16:22 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 13 Dec 2020 15:17:43 +0000 (16:17 +0100)
commit89c866f5a238f6f68b0f71fab55f77a07e8f3adb
tree91080c8e374ac11e4080e9e24b3df4122b753480
parent6f733cb2e7db38f8141b14740bcde577844a03b7
watchdog: iTCO_wdt: use module_platform_device() macro

Reducing init boilerplate by using the module_platform_device macro.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201117152214.32244-1-info@metux.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/iTCO_wdt.c