mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
iommu/tegra: smmu: Use helper function to check for valid register offset
Do not repeat the checking loop in the read and write functions. Use a single helper function for that check and call it in both accessors. Signed-off-by: Joerg Roedel <joro@8bytes.org>
This commit is contained in:
parent
a6870e928d
commit
fe1229b968
1 changed files with 18 additions and 17 deletions
Loading…
Add table
Add a link
Reference in a new issue