Re: [PATCH net-next v2] net: sfp: Unique GPIO interrupt names

2020-07-06 Thread Andrew Lunn
> diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c > index 73c2969f11a4..193a124c26c4 100644 > --- a/drivers/net/phy/sfp.c > +++ b/drivers/net/phy/sfp.c > @@ -2239,6 +2239,7 @@ static int sfp_probe(struct platform_device *pdev) > const struct sff_data *sff; > struct i2c_adapter

[PATCH net-next v2] net: sfp: Unique GPIO interrupt names

2020-07-06 Thread Chris Healy
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. Signed-off-by: