net: phy: phylink: Use gpiod_get_value_cansleep()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 10 May 2018 20:17:29 +0000 (13:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2018 16:03:05 +0000 (12:03 -0400)
commitbb322a90383603aaf71ad882a7c5a48b39a02603
tree38210f5beba342cb3de858ae1dd10942b44c572a
parentec9efb523cb8daf7b9d2e5c9cb80b255b716a777
net: phy: phylink: Use gpiod_get_value_cansleep()

The GPIO provider for the link GPIO line might require the use of the
_cansleep() API, utilize that. This is safe to do since we run in workqueue
context.

Fixes: 9525ae83959b ("phylink: add phylink infrastructure")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c