net: fec: use managed function devm_gpio_request_one
authorShawn Guo <shawn.guo@linaro.org>
Wed, 27 Jun 2012 03:45:22 +0000 (03:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2012 04:22:06 +0000 (21:22 -0700)
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>

No differences found