net: mdio-gpio: Use gpio subsystem to handle low-active pins
authorGuenter Roeck <linux@roeck-us.net>
Wed, 11 Jan 2017 20:59:51 +0000 (12:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 20:05:10 +0000 (15:05 -0500)
commit52aab18ef54ba9e71444b1d289a4a78ea374423b
treee743c19ba1fab01b00957133a10418b0d069bb0e
parent7e5fbd1e0700f1bdb94508f84ec2aeb01eed7b12
net: mdio-gpio: Use gpio subsystem to handle low-active pins

gpiod functions support handling low-active pins, so we can move
thos code out of this driver into the gpio subsystem and simplify
the code a bit.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c