commit | 96e263592bf12476b100a48ebdeb4b637bf48f9f | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Fri Jun 26 17:53:25 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 26 13:40:09 2020 -0700 |
tree | 8b3d047cc2dffd7f0622dc79031c453211c466ad | |
parent | 1dba6995731e1c1a8ea167aea74c0a917b437e6c [diff] |
net: phy: mdio: reset MDIO devices even if probe() is not implemented Similarily to PHY drivers - there's no reason to require probe() to be implemented in order to call mdio_device_reset(). MDIO devices can have resets defined without needing to do anything in probe(). Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>