diff options
author | 2013-02-18 10:20:31 +0000 | |
---|---|---|
committer | 2013-02-19 00:51:09 -0500 | |
commit | 07dcf8e9cc77e86eedfc28fa37713b5471e906b7 (patch) | |
tree | 0bc1555b8ac4d8ff36bd6d036a39291a9c5a5f53 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ip_gre: propogate target device GSO capability to the tunnel device (diff) | |
download | linux-dev-07dcf8e9cc77e86eedfc28fa37713b5471e906b7.tar.xz linux-dev-07dcf8e9cc77e86eedfc28fa37713b5471e906b7.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions