MIPS: PCI: Use struct list_head lists
authorPaul Burton <paul.burton@imgtec.com>
Wed, 5 Oct 2016 17:18:07 +0000 (18:18 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Oct 2016 15:56:13 +0000 (17:56 +0200)
commit23dac14d058fcd7cb2b4e6389139ca065855afe7
tree24c6ac358767d802528bc7de3535cdd4e2964be6
parentd05c513069f15be5de766026a4192998688ffff1
MIPS: PCI: Use struct list_head lists

Rather than open-coding a linked list implementation, make use of the
one in linux/list.h.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14340/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/pci.h
arch/mips/pci/pci.c