diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2019-06-15 13:09:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-16 23:53:41 +0300 |
commit | 42a90766fe1ff438b2af26a94bb8395c405f684b (patch) | |
tree | 3cd92afbf07df57be554b1616fb75a9ee50e3478 /include/linux | |
parent | 626c5fe423c2bc9b88cc07549626b94bcde05c9f (diff) | |
download | linux-42a90766fe1ff438b2af26a94bb8395c405f684b.tar.xz |
net: stmmac: use device_property_read_u32_array to read the reset delays
Change stmmac_mdio_reset() to use device_property_read_u32_array()
instead of of_property_read_u32_array().
This is meant as a cleanup because we can drop the struct device_node
variable. Also it will make it easier to get rid of struct
stmmac_mdio_bus_data (or at least make it private) in the future because
non-OF platforms can now pass the reset delays as device properties.
No functional changes (neither for OF platforms nor for ones that are
not using OF, because the modified code is still contained in an "if
(priv->device->of_node)").
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions