Miaoqian Lin bf2b09fedc 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>
2021-12-30 13:34:06 +00:00
..
2021-12-22 10:22:13 +00:00
2021-10-22 10:16:09 -07:00
2021-11-02 10:56:49 -07:00
2021-10-22 10:16:14 -07:00
2021-11-23 11:38:13 +00:00
2021-10-22 10:16:18 -07:00