diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-12-13 16:14:09 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 18:28:01 -0600 |
commit | 21e1a5f26c437591f67779a97e5cc95ebbb02e90 (patch) | |
tree | 15d957a00a1e7749ad6cb3a6566b7582cd0deabd /drivers/scsi/st.h | |
parent | 2f277d6a719064f830211d0a0e104a37da2ac116 (diff) |
[SCSI] ips: PCI API cleanups
* pass Scsi_Host to ips_remove_device() via pci_set_drvdata(),
allowing us to eliminate the ips_ha[] search loop and call
ips_release() directly.
* call pci_{request,release}_regions() and eliminate individual
request/release_[mem_]region() calls
* call pci_disable_device(), paired with pci_enable_device()
* s/0/NULL/ in a few places
* check ioremap() return value
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Acked-by: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/st.h')
0 files changed, 0 insertions, 0 deletions