diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2021-12-30 12:26:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-30 13:34:06 +0000 |
commit | bf2b09fedc17248b315f80fb249087b7d28a69a6 (patch) | |
tree | 446674700927f6db3fb07eeeb2646a7ed3376dcf /lib/lzo | |
parent | 8b3170e07539855ee91bc5e2fa7780a4c9b5c7aa (diff) | |
download | linux-bf2b09fedc17248b315f80fb249087b7d28a69a6.tar.bz2 |
fsl/fman: Fix missing put_device() call in fman_port_probe
The reference taken by 'of_find_device_by_node()' must be released when
not needed anymore.
Add the corresponding 'put_device()' in the and error handling paths.
Fixes: 18a6c85fcc78 ("fsl/fman: Add FMan Port Support")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/lzo')
0 files changed, 0 insertions, 0 deletions