diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2016-05-27 17:33:54 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2016-07-17 20:52:40 +0200 |
commit | 83fbae5a148cc1cd53e5be1a28edb3b6701b7af2 (patch) | |
tree | 70ee9bebd8aa953e3508980ed0227beed9805e21 /Documentation/driver-model | |
parent | 47ef4ad2684d380dd6d596140fb79395115c3950 (diff) | |
download | linux-83fbae5a148cc1cd53e5be1a28edb3b6701b7af2.tar.gz linux-83fbae5a148cc1cd53e5be1a28edb3b6701b7af2.tar.bz2 linux-83fbae5a148cc1cd53e5be1a28edb3b6701b7af2.zip |
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>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r-- | Documentation/driver-model/devres.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index c63eea0c1c8c..589296bdc133 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt @@ -357,3 +357,6 @@ SLAVE DMA ENGINE SPI devm_spi_register_master() + +WATCHDOG + devm_watchdog_register_device() |