From: Joerg Roedel Date: Mon, 4 Feb 2013 19:40:58 +0000 (+0100) Subject: iommu/tegra: smmu: Use helper function to check for valid register offset X-Git-Tag: v3.9-rc1~73^2^4~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe1229b968e1bd391ce7a89bff51aed10d02b578;p=pandora-kernel.git 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 --- Reading git-diff-tree failed