]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: Add a device managed API for watchdog_register_device()
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 27 May 2016 15:33:54 +0000 (17:33 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Jul 2016 18:52:40 +0000 (20:52 +0200)
commit7db04fb4cc50250c4d41db9d843b2593460748df
tree70ee9bebd8aa953e3508980ed0227beed9805e21
parent18d657f2cb05ac134db72b8f2f8bb2fd2a1d02ab
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>
Documentation/driver-model/devres.txt
drivers/watchdog/watchdog_core.c
include/linux/watchdog.h