watchdog: Add a device managed API for watchdog_register_device()

This helps in reducing code in .remove callbacks and sometimes
dropping .remove callbacks entirely.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
Neil Armstrong
2016-05-27 17:33:54 +02:00
committed by Wim Van Sebroeck
parent 47ef4ad268
commit 83fbae5a14
3 changed files with 43 additions and 0 deletions

View File

@@ -357,3 +357,6 @@ SLAVE DMA ENGINE
SPI
devm_spi_register_master()
WATCHDOG
devm_watchdog_register_device()