diff options
author | Chris Healy <cphealy@gmail.com> | 2020-07-06 18:27:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-07 12:45:39 -0700 |
commit | 5411ca7178d40d94e009f3a00f10e20e6067037c (patch) | |
tree | fc93c830097afd50eaf0834024e4333011128f07 /drivers/net/dsa/bcm_sf2_cfp.c | |
parent | 14f5d8e3bb4cffce4590c04b5d9c6dc1fc397f85 (diff) |
net: sfp: Unique GPIO interrupt names
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: Chris Healy <cphealy@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2_cfp.c')
0 files changed, 0 insertions, 0 deletions