iommu/vt-d: Use for_each_drhd_unit() instead of list_for_each_entry()
authorYijing Wang <wangyijing@huawei.com>
Thu, 31 Oct 2013 09:25:16 +0000 (17:25 +0800)
committerJoerg Roedel <joro@8bytes.org>
Fri, 1 Nov 2013 13:18:33 +0000 (14:18 +0100)
commit8b161f0ee911369232b5b5c18f84b5072f5bd09e
tree8175859cd40dd3a69104648a7c3bf7e3f9b46ace
parentf9423606ade08653dd8a43334f0a7fb45504c5cc
iommu/vt-d: Use for_each_drhd_unit() instead of list_for_each_entry()

Use for_each_drhd_unit() instead of list_for_each_entry for
better readability.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/dmar.c