Files
linux/drivers
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
..
2013-02-08 14:22:05 -05:00
…
…
2013-01-30 11:38:25 +01:00
…
2012-12-18 15:19:06 +10:30
…
…
…
2013-01-15 10:45:26 -07:00
…
…
…