Skip to content

Commit

Permalink
PCI: Replace resource_list with generic list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yinghai Lu authored and Jesse Barnes committed Feb 14, 2012
1 parent 2934a0d commit bdc4abe
Showing 1 changed file with 182 additions and 192 deletions.
Loading

0 comments on commit bdc4abe

Please sign in to comment.