Fabio Estevam 07dcf8e9cc net: fec: Do a sanity check on the gpio number
Check whether the phy-reset GPIO is valid, prior to requesting it.

In the case a board does not provide a phy-reset GPIO, just returns immediately.

With such gpio validation in place, it is also safe to change from pr_debug to
dev_err in the case the gpio request fails.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-02-19 00:51:09 -05:00
..
2012-12-03 11:16:10 -08:00
2012-12-28 15:24:19 -08:00
2013-01-14 15:13:39 -05:00
2012-10-02 14:37:31 -04:00
2012-10-01 18:39:45 -04:00
2013-01-08 17:56:10 -08:00