commit | c6d19ab609d5a7f0eb9385d8dda6b2b5b3d9122f | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Jun 20 13:14:03 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 21 03:58:29 2016 -0400 |
tree | fe44cde6e91e2cb388d475271dc49a8926974f3c | |
parent | b7e66a5fad73cb0f118471e6ca8aeed3447915dc [diff] |
net: dsa: mv88e6xxx: use gpio get optional variant Use the optional variant to get the reset GPIO line, instead of checking for the -ENOENT error. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>