commit | fe1229b968e1bd391ce7a89bff51aed10d02b578 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joro@8bytes.org> | Mon Feb 04 20:40:58 2013 +0100 |
committer | Joerg Roedel <joro@8bytes.org> | Tue Feb 05 14:18:24 2013 +0100 |
tree | 95d3ccbf29ae844884a4e1a9e2279ed4141dcad4 | |
parent | a6870e928d1b2a97d95e7bf1aaefd3da34b83a85 [diff] |
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>