diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-11-06 22:53:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-08 13:53:33 +0900 |
commit | 25850c31c8b5c2ce7fb922f5e80de7227ecf6be4 (patch) | |
tree | 214f6d2841b9325cf8a88546b85e225a0548a327 /net/switchdev/switchdev.c | |
parent | 336eac4347e74589f868e5da9ca0106953942aa8 (diff) |
fsl/fman: Add a missing 'of_node_put()' call in an error handling path
If 'of_phy_find_device()' fails, we must undo the previous 'of_node_get()'
call, as done the the following error handling code.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions