diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2017-11-18 02:31:01 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-18 03:10:04 +0300 |
commit | 44ea39420fc95e7432ddc91de4eb58c7470ab897 (patch) | |
tree | 046d89fe44f3874baf9242dea3d34bb991c4c2b4 /init | |
parent | 2d8364bae4db144df75ba85e92d2b8619ba8eedc (diff) | |
download | linux-44ea39420fc95e7432ddc91de4eb58c7470ab897.tar.xz |
drivers/watchdog: make use of devm_register_reboot_notifier()
Save a bit of cleanup code by leveraging newly added
devm_register_reboot_notifier().
[akpm@linux-foundation.org: small cleanup: avoid 80-col tricks]
Link: http://lkml.kernel.org/r/20170411160615.9784-1-andrew.smirnov@gmail.com
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions