iommu/tegra: smmu: Simplify allocation at once
authorHiroshi Doyu <hdoyu@nvidia.com>
Mon, 25 Jun 2012 11:23:56 +0000 (14:23 +0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 25 Jun 2012 11:50:43 +0000 (13:50 +0200)
commita3b24915456b63c9002e94152e122b07de5566f2
treeef3cedd11e82d15e652fd5bcdd5dffd2db7dd18c
parent0760e8faa960f8ee991fa4acb802db4e20661281
iommu/tegra: smmu: Simplify allocation at once

To simplify the code, alloc necessary data at once.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/tegra-smmu.c