]> Git Repo - linux.git/commit
kernel/reboot.c: add devm_register_reboot_notifier()
authorAndrey Smirnov <[email protected]>
Fri, 17 Nov 2017 23:30:57 +0000 (15:30 -0800)
committerLinus Torvalds <[email protected]>
Sat, 18 Nov 2017 00:10:04 +0000 (16:10 -0800)
commit2d8364bae4db144df75ba85e92d2b8619ba8eedc
treefde83e8f69dbf7b69ce7ba4c5abfe9252eac9db7
parentc512ac01d8a841033da8ec538a83f80fb0b4d1fe
kernel/reboot.c: add devm_register_reboot_notifier()

Add devm_* wrapper around register_reboot_notifier to simplify device
specific reboot notifier registration/unregistration.

[[email protected]: move `struct device' forward decl to top-of-file]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andrey Smirnov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/reboot.h
kernel/reboot.c
This page took 0.057372 seconds and 4 git commands to generate.