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)
commit83fbae5a148cc1cd53e5be1a28edb3b6701b7af2
tree70ee9bebd8aa953e3508980ed0227beed9805e21
parent47ef4ad2684d380dd6d596140fb79395115c3950
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