Skip to contentSkip to conversation

firmware: imx: Remove call to devm_of_platform_populate

PATCH Applied Daniel Baluta 2 participants 2 messages Oct 14, 2019 – Oct 26, 2019 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firmware: imx: Remove call to devm_of_platform_populate

IMX DSP device is created by SOF layer. The current call to devm_of_platform_populate is not needed and it doesn't produce any effects.

Fixes ffbf23d50353915d ("firmware: imx: Add DSP IPC protocol interface)
---
 drivers/firmware/imx/imx-dsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/imx/imx-dsp.c +1 -1
index a43d2db5cbdb..4265e9dbed84 100644
@@ -114,7 +114,7 @@ static int imx_dsp_probe(struct platform_device *pdev)
 
 	dev_info(dev, "NXP i.MX DSP IPC initialized\n");
 
-	return devm_of_platform_populate(dev);
+	return 0;
 out:
 	kfree(chan_name);
 	for (j = 0; j < i; j++) {
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 6 lines · Daniel Baluta

IMX DSP device is created by SOF layer. The current call to devm_of_platform_populate is not needed and it doesn't produce any effects.

Fixes ffbf23d50353915d ("firmware: imx: Add DSP IPC protocol interface)

Applied, thanks.