Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b3d8c6e authored by Patrick Daly's avatar Patrick Daly
Browse files

iommu: arm-smmu: Abstract power resources from struct arm_smmu_device



Directly containing clock and regulator structures within struct
arm_smmu_device forces the functions which enable/disable/initialize clocks
and regulators to use struct arm_smmu_device. This prevents code reuse.
Future changes will use a second struct which also needs to control clocks
and regulators.

Change-Id: I978d80d25217b8f4d560f02c68e84d3f2da50b2c
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent cf7b0de8
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