PCI: Replace resource_list with generic list
authorYinghai Lu <yinghai@kernel.org>
Sat, 21 Jan 2012 10:08:27 +0000 (02:08 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Feb 2012 16:44:55 +0000 (08:44 -0800)
commitbdc4abecaeff30b3cc230b418a925999dda594c2
tree560705372265c02af5c8e9738a0a2bcaae32bb02
parent2934a0de095f277a7bbc15a72ecf61af31a45163
PCI: Replace resource_list with generic list

So we can use helper functions for generic list.  This makes the
resource re-allocation code much more readable.

-v2: Use list_add_tail instead of adding list_insert_before, Pointed out
     by Linus.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c