net: phy: add helper phy_polling_mode
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 23 Jul 2018 19:40:07 +0000 (21:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jul 2018 20:41:22 +0000 (13:41 -0700)
commit3c507b8af638c67d4a80d70091d2057ecb01e8a6
tree0faf90171f874daa7937568e4153838dc2265a65
parentd805f6a8682937d7f8136fe7561659b13f5aaa49
net: phy: add helper phy_polling_mode

Add a helper for checking whether polling is used to detect PHY status
changes.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h