]> err.no Git - linux-2.6/commit
[libata] struct pci_dev related cleanups
authorJeff Garzik <jeff@garzik.org>
Thu, 11 Oct 2007 21:12:35 +0000 (17:12 -0400)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:47 +0000 (14:55 -0400)
commit2855568b1ee4f58ef2c0a13ddfceb4b0b216b7ed
tree79262af301c2386c2c391942991742653bc7935e
parentb06ce3e51e3df4394a584c234f11240b1c6f8d5b
[libata] struct pci_dev related cleanups

* remove pointless pci_dev_to_dev() wrapper.  Just directly reference
  the embedded struct device like everyone else does.

* pata_cs5520: delete cs5520_remove_one(), it was a duplicate of
  ata_pci_remove_one()

* linux/libata.h: don't bother including linux/pci.h, we don't need it.
  Simply declare 'struct pci_dev' and assume interested parties will
  include the header, as they should be doing anyway.

* linux/libata.h: consolidate all CONFIG_PCI declarations into a
  single location in the header.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/pata_cs5520.c
include/linux/libata.h