]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc/tegra: pmc: Pass PMC context as debugfs data
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2025 13:47:15 +0000 (14:47 +0100)
committerThierry Reding <treding@nvidia.com>
Sun, 18 Jan 2026 07:48:29 +0000 (08:48 +0100)
commitb2a3e8200056480219d4bc44c3403cacf0125495
tree218c0f205fd85ec64ee26a54af47d888456113c7
parenta9f822b3ff7b47a5b78f1258b998cbeb29089a62
soc/tegra: pmc: Pass PMC context as debugfs data

Each debugfs file can have private data associated with it. Use this to
pass the PMC context instead of relying on a global variable.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c