|
@@ -2120,6 +2120,8 @@ static int netcp_probe(struct platform_device *pdev)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ of_node_put(interfaces);
|
|
|
+
|
|
|
/* Add the device instance to the list */
|
|
|
list_add_tail(&netcp_device->device_list, &netcp_devices);
|
|
|
|
|
@@ -2132,6 +2134,8 @@ probe_quit_interface:
|
|
|
netcp_delete_interface(netcp_device, netcp_intf->ndev);
|
|
|
}
|
|
|
|
|
|
+ of_node_put(interfaces);
|
|
|
+
|
|
|
probe_quit:
|
|
|
pm_runtime_put_sync(&pdev->dev);
|
|
|
pm_runtime_disable(&pdev->dev);
|