commit | 119fc007766fc6ec6cff0f696d73cebb6f2cbe58 | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Wed Jun 27 03:45:22 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 27 21:22:06 2012 -0700 |
tree | 9d4352c5176fc654b9dbd98e745d7daeb3bc6a35 | |
parent | 5fa9c0fe3ec0a008352d4a4fb8d972a437183404 [diff] |
net: fec: use managed function devm_gpio_request_one Using gpio_request_one will require the probe fail-out call gpio_free, which is missing currently. Change to use devm_gpio_request_one to fix the problem. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>