Skip to content

Commit

Permalink
net: phy: sfp: rename dt properties to match the binding
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
baruchsiach authored and davem330 committed Sep 9, 2017
1 parent 3ef3714 commit 25ee079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/phy/sfp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 25ee079

Please sign in to comment.