From: Andrew Lunn <and...@lunn.ch> Date: Mon, 5 Feb 2018 19:17:23 +0100
> If CONFIG_GPIOLIB is disabled, fwnode_get_named_gpiod() becomes a stub > function, which return -ENOSYS. Handle this in the same way as > -ENOENT, i.e. assume there is no GPIO used to reset the PHYs. > > Reported-by: Christian Zigotzky <chzigot...@xenosoft.de> > Tested-by: Christian Zigotzky <chzigot...@xenosoft.de> > Signed-off-by: Andrew Lunn <and...@lunn.ch> > Reviewed-by: Florian Fainelli <f.faine...@gmail.com> > Fixes: bafbdd527d56 ("phylib: Add device reset GPIO support") Applied, thanks Andrew.