• Randy Dunlap's avatar
    [PATCH] janitor: convert to pci_name() · 42098570
    Randy Dunlap authored
    [ GregKH has already done this is USB and PCI core. ]
    
    From: "Warren A. Layton" <zeevon@debian.org>
    
    Based on a request from Matthew Wilcox, convert instances of
    pci_dev->slot_name to use pci_name() instead:
    
      "In order to support PCI Domains, we have to stop using slot_name.
       It's related to driver model transition too since pci_dev->slot_name
       was redundant with pci_dev->dev.bus_id.  So I introduced the inline
       function pci_name().  Now there's about 300-400 places in the tree
       that're using slot_name which need to be converted to use pci_name().
       once that's done, we can remove the slot_name pointer in pci_dev and
       save a (void *) per pci_dev."
    42098570
ops-ocelot.c 28.3 KB