]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc/tegra: pmc: Store PMC context in clocks
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2025 13:33:09 +0000 (14:33 +0100)
committerThierry Reding <treding@nvidia.com>
Sun, 18 Jan 2026 07:48:29 +0000 (08:48 +0100)
commit0732dffeb093064b7954a48362ec83a25262878b
tree9eb82f2d5dc1b32cebe7459c4343ad6217c6bb2e
parent1c672945ceb4ba55feb2ba9d6816be395a6e32d7
soc/tegra: pmc: Store PMC context in clocks

Clocks exposed by the PMC need to reference the PMC context for register
programming. Store a reference to the context in the data structure for
each clock to avoid the need for a global variable.

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