]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad587e27c9ef771d13a75907dffe70c2d83946e3
tree560705372265c02af5c8e9738a0a2bcaae32bb02
parent7d6b1d8dd8ffd4ba6b40bf759c0aefd696f2518b
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