summaryrefslogtreecommitdiff
path: root/drivers/watchdog/watchdog_dev.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2017-11-18 02:30:57 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-18 03:10:04 +0300
commit2d8364bae4db144df75ba85e92d2b8619ba8eedc (patch)
treefde83e8f69dbf7b69ce7ba4c5abfe9252eac9db7 /drivers/watchdog/watchdog_dev.c
parentc512ac01d8a841033da8ec538a83f80fb0b4d1fe (diff)
downloadlinux-2d8364bae4db144df75ba85e92d2b8619ba8eedc.tar.xz
kernel/reboot.c: add devm_register_reboot_notifier()
Add devm_* wrapper around register_reboot_notifier to simplify device specific reboot notifier registration/unregistration. [akpm@linux-foundation.org: move `struct device' forward decl to top-of-file] Link: http://lkml.kernel.org/r/20170320171753.1705-1-andrew.smirnov@gmail.com Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/watchdog/watchdog_dev.c')
0 files changed, 0 insertions, 0 deletions