• Olof Johansson's avatar
    i2c-pasemi: use i2c_add_numbered_adapter() · ccf60d85
    Olof Johansson authored
    Use numbered adapter registration to always have the same hardware bus
    show up at the same number.
    
    PWRficient 1682M has three buses, they are all on the same PCI device but
    different functions. So do the simple thing and register them based on
    function number. Future products, if having a different number of busses,
    are expected to have similar behaviour w.r.t. device/function layout.
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    ccf60d85
i2c-pasemi.c 10.5 KB