iommu/arm-smmu: Drop devm_free_irq when driver detach
authorPeng Fan <van.freenix@gmail.com>
Wed, 13 Jul 2016 02:13:08 +0000 (10:13 +0800)
committerWill Deacon <will.deacon@arm.com>
Fri, 16 Sep 2016 08:34:12 +0000 (09:34 +0100)
commite2d42311ffc9a5014eb129d02eb0e7bc791430f0
tree04f41a7b7e5fcd9d551a586ec6249ee25338c7fd
parent3eab887a55424fc2c27553b7bfe32330df83f7b8
iommu/arm-smmu: Drop devm_free_irq when driver detach

There is no need to call devm_free_irq when driver detach.
devres_release_all which is called after 'drv->remove' will
release all managed resources.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c