From: Florian Fainelli <f.faine...@gmail.com> Date: Sun, 20 May 2018 20:49:47 -0700
> If CONFIG_GPIOLIB is disabled, gpiod_put() becomes a stub that produces a > warning, this helped identify that we could be attempting to release a NULL > pl->link_gpio GPIO descriptor, so guard against that. > > Fixes: daab3349ad1a ("net: phy: phylink: Release link GPIO") > Signed-off-by: Florian Fainelli <f.faine...@gmail.com> Applied.