diff mbox series

firmware: imx: Remove call to devm_of_platform_populate

Message ID 20191014153228.25167-1-daniel.baluta@nxp.com
State Accepted
Commit 0e4e8cc30a2940c57448af1376e40d3c0996fb29
Headers show
Series firmware: imx: Remove call to devm_of_platform_populate | expand

Commit Message

Daniel Baluta Oct. 14, 2019, 3:32 p.m. UTC
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)
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>

---
 drivers/firmware/imx/imx-dsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Shawn Guo Oct. 26, 2019, 11:23 a.m. UTC | #1
On Mon, Oct 14, 2019 at 06:32:28PM +0300, Daniel Baluta wrote:
> 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)

> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>


Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/firmware/imx/imx-dsp.c b/drivers/firmware/imx/imx-dsp.c
index a43d2db5cbdb..4265e9dbed84 100644
--- a/drivers/firmware/imx/imx-dsp.c
+++ b/drivers/firmware/imx/imx-dsp.c
@@ -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++) {