net: mdio-gpio: Use devm_gpio_request_one instead of devm_gpio_request
authorGuenter Roeck <linux@roeck-us.net>
Wed, 11 Jan 2017 20:59:49 +0000 (12:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 20:05:10 +0000 (15:05 -0500)
commit08d9665cfed37b51766284ca2f9b6e4f3ccd6959
treedfffaace2ee4716b5aa49bca46945780aa6abacd
parent37c9782c7306efcc831f7c989c0b7ab040956089
net: mdio-gpio: Use devm_gpio_request_one instead of devm_gpio_request

Using devm_gpio_request_one lets us request gpio pins with initial state
in one go.

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