Skip to content
Commit db2d6038 authored by Benjamin Bara's avatar Benjamin Bara Committed by Lee Jones
Browse files

kernel/reboot: Add device to sys_off_handler



If the dev is known (e.g. a devm-based sys_off_handler is used), it can
be passed to the handler's callback to have it available there.
Otherwise, cb_data might be set to the dev in most of the cases.

Reviewed-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: default avatarBenjamin Bara <benjamin.bara@skidata.com>
Link: https://lore.kernel.org/r/20230327-tegra-pmic-reboot-v7-3-18699d5dcd76@skidata.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent aa49c908
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment