diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-09-07 12:25:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-08 20:51:17 -0700 |
commit | 25ee079371640573bbb22ab04ca5fe7a6e9842cf (patch) | |
tree | b8c808ee686710726833de18c2d3924c3f66d2a1 /drivers/net/phy/sfp.c | |
parent | 3ef3714000ad86e8b8fbdaa3abc4d468a8e98a79 (diff) | |
download | linux-stable-25ee079371640573bbb22ab04ca5fe7a6e9842cf.tar.gz linux-stable-25ee079371640573bbb22ab04ca5fe7a6e9842cf.tar.bz2 linux-stable-25ee079371640573bbb22ab04ca5fe7a6e9842cf.zip |
net: phy: sfp: rename dt properties to match the binding
Make the Rx rate select control gpio property name match the documented
binding. This would make the addition of 'rate-select1-gpios' for SFP+
support more natural.
Also, make the MOD-DEF0 gpio property name match the documentation.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/sfp.c')
-rw-r--r-- | drivers/net/phy/sfp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c index fb2cf4342f48..baee371bf767 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -58,11 +58,11 @@ enum { }; static const char *gpio_of_names[] = { - "moddef0", + "mod-def0", "los", "tx-fault", "tx-disable", - "rate-select", + "rate-select0", }; static const enum gpiod_flags gpio_flags[] = { |