commit | ab98c008ac761752cdc27f9eb053419feadeb2f7 | [log] [tgz] |
---|---|---|
author | Hubert Feurstein <h.feurstein@gmail.com> | Tue Jul 30 11:46:23 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 30 09:54:45 2019 -0700 |
tree | 948b0c69f204707f556e6efe10cc5140f2c9629c | |
parent | a20961cc9493be46b5c4f565b925284a90c7864c [diff] |
net: phy: fixed_phy: print gpio error only if gpio node is present It is perfectly ok to not have an gpio attached to the fixed-link node. So the driver should not throw an error message when the gpio is missing. Fixes: 5468e82f7034 ("net: phy: fixed-phy: Drop GPIO from fixed_phy_add()") Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>