drm: Use list_for_each_entry() for bus traversal
authorYijing Wang <wangyijing@huawei.com>
Thu, 13 Feb 2014 13:14:00 +0000 (21:14 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Feb 2014 18:20:51 +0000 (11:20 -0700)
commit59c1ad3b82b96bfcb40bf96ecff1d94f218fca6e
tree6cdfbeb0b1bbdb523c38bc5fe048a1a33e654404
parentf0197e0cc6c68c4498cd9008db33b3ba4c3b11ba
drm: Use list_for_each_entry() for bus traversal

Replace list_for_each() + pci_bus_b() with list_for_each_entry().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/gpu/drm/drm_fops.c