• Chris Healy's avatar
    net: sfp: Unique GPIO interrupt names · 5411ca71
    Chris Healy authored
    Dynamically generate a unique GPIO interrupt name, based on the
    device name and the GPIO name.  For example:
    
    103:          0   sx1503q  12 Edge      sff2-los
    104:          0   sx1503q  13 Edge      sff2-tx-fault
    
    The sffX indicates the SFP the los and tx-fault are associated with.
    
    v3:
    - reverse Christmas tree new variable
    - fix spaces vs tabs
    v2:
    - added net-next to PATCH part of subject line
    - switched to devm_kasprintf()
    Signed-off-by: default avatarChris Healy <cphealy@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5411ca71
sfp.c 56.1 KB