aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio_device.c
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2017-12-22 11:08:09 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-27 11:06:50 -0500
commit04f629f730fcd30c811777d186b15c38737eaa3c (patch)
tree6e6856c7f6809cd26e2662bd3cdc5f35c0aa6676 /drivers/net/phy/mdio_device.c
parentMerge branch 'hns3-next' (diff)
downloadlinux-dev-04f629f730fcd30c811777d186b15c38737eaa3c.tar.xz
linux-dev-04f629f730fcd30c811777d186b15c38737eaa3c.zip
phylib: rename reset-(post-)delay-us to reset-(de)assert-us
As suggested by Rob Herring [1] rename the previously introduced reset-{,post-}delay-us bindings to the clearer reset-{,de}assert-us [1] https://patchwork.kernel.org/patch/10104905/ Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio_device.c')
-rw-r--r--drivers/net/phy/mdio_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio_device.c b/drivers/net/phy/mdio_device.c
index 843c1dde93e4..c924700cf37b 100644
--- a/drivers/net/phy/mdio_device.c
+++ b/drivers/net/phy/mdio_device.c
@@ -126,7 +126,7 @@ void mdio_device_reset(struct mdio_device *mdiodev, int value)
gpiod_set_value(mdiodev->reset, value);
- d = value ? mdiodev->reset_delay : mdiodev->reset_post_delay;
+ d = value ? mdiodev->reset_assert_delay : mdiodev->reset_deassert_delay;
if (d)
usleep_range(d, d + max_t(unsigned int, d / 10, 100));
}