commit | 7e5fbd1e0700f1bdb94508f84ec2aeb01eed7b12 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Jan 11 12:59:50 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 12 15:05:10 2017 -0500 |
tree | f2f271783b8e3a36f9cda91d335502d273e1bb05 | |
parent | 08d9665cfed37b51766284ca2f9b6e4f3ccd6959 [diff] |
net: mdio-gpio: Convert to use gpiod functions where possible Using gpiod functions lets us use functionality which is not available with gpio functions. There is no gpiod function to match devm_gpio_request_one, so leave it in place and use gpio_to_desc() to convert absolute pin numbers to gpio descriptors. 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>