net: phy: sfp: rename dt properties to match the binding
authorBaruch Siach <baruch@tkos.co.il>
Thu, 7 Sep 2017 09:25:50 +0000 (12:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Sep 2017 03:51:17 +0000 (20:51 -0700)
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>
drivers/net/phy/sfp.c

index fb2cf4342f48b5894fe5d7a7bfc8356fb7b60b0f..baee371bf767c6dff65b54b8739da6d0f6ba98c1 100644 (file)
@@ -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[] = {