]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] gdth: PCI probe cleanups, prep for PCI hotplug API conversion
authorJeff Garzik <jeff@garzik.org>
Sat, 16 Feb 2008 02:35:26 +0000 (21:35 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:15:36 +0000 (12:15 -0500)
commit4c9c8d782c8dddc5e97d33210e8a993cec6bc168
tree6b8c8d5848da51f9f7d16fba7f61098c20088cc0
parent4cac04dd63fa3b202ee313ed1afbbd135ab887ee
[SCSI] gdth: PCI probe cleanups, prep for PCI hotplug API conversion

- Reduce uses of gdth_pci_str::pdev, preferring a local variable
  (or function arg) 'pdev' instead.

- Reduce uses of gdth_pcistr array, preferring local variable
  (or function arg) 'pcistr' instead.

- Eliminate lone use of gdth_pci_str::irq, using equivalent
  pdev->irq instead

- Eliminate assign-only gdth_pci_str::io_mm

Note:  If the indentation seems weird, that's because a line was
converted from spaces to tabs, when it was modified.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/gdth.c
drivers/scsi/gdth.h