nvidiafb/rivafb: switch to pci_get refcounting
authorAlan Cox <alan@redhat.com>
Tue, 8 May 2007 07:39:28 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:32 +0000 (11:15 -0700)
commitd37363409bacd1142c6e49edfb3e1f8b153d47dc
tree2aa26a4e06020b714192f746a11c0be4c7b7c5fb
parentdbe7e429fedb3fbc93b496cc1c3eb4fc28333ac0
nvidiafb/rivafb: switch to pci_get refcounting

Switch to pci_get refcounting APIs

[adaplas]
Fix a long-standing bug where the return value of
pci_find_slot()/pci_get_bus_and_slot() is ignored.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/nvidia/nv_hw.c
drivers/video/nvidia/nv_setup.c
drivers/video/riva/nv_driver.c
drivers/video/riva/riva_hw.c