Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4739886ybp; Mon, 14 Oct 2019 09:16:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlwX9f6rMkfwVHvRABw9PHXJ0Hfr7JoXHevU8uNR/Am52qTwENvq0pA2lShII2wy3wzcvC X-Received: by 2002:a17:906:6b99:: with SMTP id l25mr28885588ejr.233.1571069792221; Mon, 14 Oct 2019 09:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571069792; cv=none; d=google.com; s=arc-20160816; b=DGWO0lm6RwQnvExh//JAMD1u0vg2F5ufaaD+bfRMhfxx2gKvIz78dABms6P77WmpBD Q/5A2QyUS7mDcKn9Z4hz3KoshzDphJPwWlhXJRA6qFCjbf5K0ZHBYVxaOrNXEeuSi7lZ +WnxNHNAHLJhOi14GQVr6pI+CWlKmFCLE2N+IKSzIXTcoPPR3GEiXeViG4AVUZFm6E7v VX5kJeX1HEr2rBbrZaQqnXJsJUuBVXDSRXDta9I+6uysFgcPB79WgoFQUa3ZnkCXisle KjAW+5T8lyIkVFfajzj5HQiiVxAlVyE4vtjNSGj9ORHSZhFG0dLdOLYIJgiN2d8fsIp8 Bb2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=RvgvJz1ihbr0FqhV6Ru1BtejlTWSSRDKq+oqpd++rWY=; b=mY8224QVdxrU1dn543AooER5fyi/q0+kImNvw0FksLD02xc9TiOaHBX2F4PdZp3+q3 7BaPL/c/3wD9xA9VKvfVe/6yRqemjcZf2NRcw864t/5pFWviAtlGk71glCpO0Phk8OfK 4xcGUEsYdKIahBjuL9BJmVRqoTM/f1MvCBW//s99vyIPdU7Y7Ket5mE+8I56AyTpCqll rJ8ylMemZuvhKeoa+aCrqPj0jNh+G7w2kQHNr98MYxmcw5w2oV094zmeaczlKwYUNLwy ukCffh7LyG6mJ8029cw4WAWqI5MsJCFl9/y4GKnwlRGJehw/cC9mKmPdeTzdSdZBUuzt jQ6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z12si11452414ejb.312.2019.10.14.09.16.09; Mon, 14 Oct 2019 09:16:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387580AbfJNPce (ORCPT + 99 others); Mon, 14 Oct 2019 11:32:34 -0400 Received: from inva020.nxp.com ([92.121.34.13]:42948 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728905AbfJNPce (ORCPT ); Mon, 14 Oct 2019 11:32:34 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 79FA41A0199; Mon, 14 Oct 2019 17:32:32 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6D7AB1A00EA; Mon, 14 Oct 2019 17:32:32 +0200 (CEST) Received: from fsr-ub1864-103.ea.freescale.net (fsr-ub1864-103.ea.freescale.net [10.171.82.17]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id F329520624; Mon, 14 Oct 2019 17:32:31 +0200 (CEST) From: Daniel Baluta To: shawnguo@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, daniel.baluta@nxp.com, linux@rempel-privat.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] firmware: imx: Remove call to devm_of_platform_populate Date: Mon, 14 Oct 2019 18:32:28 +0300 Message-Id: <20191014153228.25167-1-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/firmware/imx/imx-dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.17.1