Re: [PATCH 06/15] net: phy: mdio: reset MDIO devices even if probe() is not implemented
From: Andrew Lunn
Date: Mon Jun 22 2020 - 09:19:04 EST
On Mon, Jun 22, 2020 at 11:37:35AM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>
I would be surprised if there is any MDIO driver which don't have a
probe callback.
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew