commit | d0c5b2579509b86c1b4a4fa7508428aa44bddd3b | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Sep 24 11:40:24 2013 +0800 |
committer | Joerg Roedel <joro@8bytes.org> | Tue Sep 24 15:01:35 2013 +0200 |
tree | 59d72842a5a96b3c6bbe198633d930279eb501d6 | |
parent | e56b3dab34d41804b57b900f5b7e7837ece0367b [diff] |
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>