commit | 0e3e7999703e7df93a9deee8ba89b604c5fd662d | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | Mon Mar 28 13:47:42 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 28 11:39:16 2016 -0400 |
tree | 654f202dc57e4b8a4af2e7016bf7de5781666bea | |
parent | 9832ce4c0bb90e4dcedf4280947341b1eb6728e6 [diff] |
net: macb: Only call GPIO functions if there is a valid GPIO GPIOlib will print warning messages if we call GPIO functions without a valid GPIO. Change the code to avoid doing so. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: David S. Miller <davem@davemloft.net>