iommu/tegra: gart: cleanup devm_* functions usage
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 24 Sep 2013 03:40:24 +0000 (11:40 +0800)
committerJoerg Roedel <joro@8bytes.org>
Tue, 24 Sep 2013 13:01:35 +0000 (15:01 +0200)
commitd0c5b2579509b86c1b4a4fa7508428aa44bddd3b
tree59d72842a5a96b3c6bbe198633d930279eb501d6
parente56b3dab34d41804b57b900f5b7e7837ece0367b
iommu/tegra: gart: cleanup devm_* functions usage

The devm_[kzalloc|ioremap] functions allocates data that are released
when a driver detaches. Thus, there is no reason to explicitly call
devm_[kfree|iounmap] in probe or remove functions.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/tegra-gart.c