|
@@ -2786,7 +2786,7 @@ static struct fman *read_dts_node(struct platform_device *of_dev)
|
|
if (!muram_node) {
|
|
if (!muram_node) {
|
|
dev_err(&of_dev->dev, "%s: could not find MURAM node\n",
|
|
dev_err(&of_dev->dev, "%s: could not find MURAM node\n",
|
|
__func__);
|
|
__func__);
|
|
- goto fman_node_put;
|
|
|
|
|
|
+ goto fman_free;
|
|
}
|
|
}
|
|
|
|
|
|
err = of_address_to_resource(muram_node, 0,
|
|
err = of_address_to_resource(muram_node, 0,
|
|
@@ -2795,11 +2795,10 @@ static struct fman *read_dts_node(struct platform_device *of_dev)
|
|
of_node_put(muram_node);
|
|
of_node_put(muram_node);
|
|
dev_err(&of_dev->dev, "%s: of_address_to_resource() = %d\n",
|
|
dev_err(&of_dev->dev, "%s: of_address_to_resource() = %d\n",
|
|
__func__, err);
|
|
__func__, err);
|
|
- goto fman_node_put;
|
|
|
|
|
|
+ goto fman_free;
|
|
}
|
|
}
|
|
|
|
|
|
of_node_put(muram_node);
|
|
of_node_put(muram_node);
|
|
- of_node_put(fm_node);
|
|
|
|
|
|
|
|
err = devm_request_irq(&of_dev->dev, irq, fman_irq, IRQF_SHARED,
|
|
err = devm_request_irq(&of_dev->dev, irq, fman_irq, IRQF_SHARED,
|
|
"fman", fman);
|
|
"fman", fman);
|