commit | 08d9665cfed37b51766284ca2f9b6e4f3ccd6959 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Jan 11 12:59:49 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 12 15:05:10 2017 -0500 |
tree | dfffaace2ee4716b5aa49bca46945780aa6abacd | |
parent | 37c9782c7306efcc831f7c989c0b7ab040956089 [diff] |
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>