summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2016-05-27 17:33:54 +0200
committerWim Van Sebroeck <wim@iguana.be>2016-07-17 20:52:40 +0200
commit83fbae5a148cc1cd53e5be1a28edb3b6701b7af2 (patch)
tree70ee9bebd8aa953e3508980ed0227beed9805e21 /Documentation/driver-model
parent47ef4ad2684d380dd6d596140fb79395115c3950 (diff)
downloadop-kernel-dev-83fbae5a148cc1cd53e5be1a28edb3b6701b7af2.zip
op-kernel-dev-83fbae5a148cc1cd53e5be1a28edb3b6701b7af2.tar.gz
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.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index c63eea0..589296b 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()
OpenPOWER on IntegriCloud