From: Baruch Siach <baruch@tkos.co.il>
Date: Thu, 7 Sep 2017 12:25:50 +0300
Subject: net: phy: sfp: rename dt properties to match the binding
Patch-mainline: v4.14-rc1
Git-commit: 25ee079371640573bbb22ab04ca5fe7a6e9842cf
References: bsc#1119113 FATE#326472
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>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
drivers/net/phy/sfp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- 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[] = {