iommu/io-pgtable-arm: Use for_each_set_bit to simplify the code
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 21 Sep 2016 05:41:31 +0000 (13:41 +0800)
committerWill Deacon <will.deacon@arm.com>
Tue, 29 Nov 2016 15:57:40 +0000 (15:57 +0000)
commit4ae8a5c528c0b1ed20f0a06bed15e2fddf3f3838
tree4f1c3df2a5567793ba65ace0725f2284e4911bfe
parenta25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6
iommu/io-pgtable-arm: Use for_each_set_bit to simplify the code

We can use for_each_set_bit() to simplify the code slightly in the
ARM io-pgtable self tests.

Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/io-pgtable-arm-v7s.c
drivers/iommu/io-pgtable-arm.c