• Jeff Garzik's avatar
    [libata] struct pci_dev related cleanups · 2855568b
    Jeff Garzik authored
    * 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: default avatarJeff Garzik <jgarzik@redhat.com>
    2855568b
libata-eh.c 69.5 KB