diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-11-24 22:21:14 +0100 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-12-16 13:11:21 +0100 |
commit | 2839038bb1a72ed7ef3c39521e0ca981c9cb1534 (patch) | |
tree | d9f4238e7c0427417520ccb7ceea1f7466b254b4 /Documentation | |
parent | ARM: at91/net: add macb ethernet controller in 9g45/9g20 DT (diff) | |
download | linux-2839038bb1a72ed7ef3c39521e0ca981c9cb1534.tar.xz linux-2839038bb1a72ed7ef3c39521e0ca981c9cb1534.zip |
net/at91_ether: use gpio_is_valid for phy IRQ line
Use the generic gpiolib gpio_is_valid() function to test
if the phy IRQ line GPIO is actually provided.
For non-connected or non-existing phy IRQ lines, -EINVAL
value is used for phy_irq_pin field of struct at91_eth_data.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions