net: phy: dp83867: Fix device tree entries

Fix the device tree entries to modify the '_' to '-'.
Also changes the names of the internal delay properties
from -int- to -internal- as the -int- appeared as a keyword.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Dan Murphy
2015-06-08 14:30:55 -05:00
committed by David S. Miller
parent 684b4ac14f
commit ac7ba51c21
2 changed files with 15 additions and 9 deletions

View File

@@ -113,17 +113,17 @@ static int dp83867_of_init(struct phy_device *phydev)
if (!phydev->dev.of_node)
return -ENODEV;
ret = of_property_read_u32(of_node, "ti,rx_int_delay",
ret = of_property_read_u32(of_node, "ti,rx-internal-delay",
&dp83867->rx_id_delay);
if (ret)
return ret;
ret = of_property_read_u32(of_node, "ti,tx_int_delay",
ret = of_property_read_u32(of_node, "ti,tx-internal-delay",
&dp83867->tx_id_delay);
if (ret)
return ret;
ret = of_property_read_u32(of_node, "ti,fifo_depth",
ret = of_property_read_u32(of_node, "ti,fifo-depth",
&dp83867->fifo_depth);
if (ret)
return ret;