mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
soc/tegra: pmc: Embed reboot notifier in PMC context
Instead of relying on a global variable to track the PMC context, embed the reboot notifier into the PMC context so that the latter can be resolved using container_of(). Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
0732dffeb0
commit
48b7f802fb
1 changed files with 10 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue