net: phy: add new version of phy_do_ioctl
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 20 Jan 2020 21:17:11 +0000 (22:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 09:50:41 +0000 (10:50 +0100)
commitbbbf8430afe6906abbf879352fe10d24d380e588
tree26f3313778fd98f972e996921ac79d8c5c2a87c0
parent3231e5d2228a2078ce5982d63ea9a617e4972c00
net: phy: add new version of phy_do_ioctl

Add a new version of phy_do_ioctl that doesn't check whether net_device
is running. It will typically be used if suitable drivers attach the
PHY in probe already.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@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