dmaengine: qcom: hidma_mgmt: Remove redundant 'child' assignment.
Subsystems (3)
PATCH 1/1 dmaengine: qcom: hidma_mgmt: Remove redundant 'child' assignment.
In hidma_mgmt_of_populate_channels(), 'new_pdev->dev.of_node = child;' is not needed as it has been correctly done in platform_device_register_full().
Fixes 9da0be80be6e ("dmaengine: qcom_hidma: configure DMA and MSI for OF")
Signed-off-by Liang He <[email protected]>
--- drivers/dma/qcom/hidma_mgmt.c | 1 - 1 file changed, 1 deletion(-)
drivers/dma/qcom/hidma_mgmt.c +0 -1
@@ -387,7 +387,6 @@ static int __init hidma_mgmt_of_populate_channels(struct device_node *np) ret =PTR_ERR (new_pdev); goto out; } - new_pdev->dev.of_node = child;of_dma_configure (&new_pdev->dev, child, true);/* * It is assumed that calling of_msi_configure is safe on
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel