From patchwork Mon Oct 14 15:32:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 176255 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4667381ill; Mon, 14 Oct 2019 08:32:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZcmbWUSazbxLfLGWu7xxbDFBmuk2CW7U6fyPo+U7AfV7ELuIl5+ReK56/nX//SMP9oyZS X-Received: by 2002:a17:906:1fc8:: with SMTP id e8mr25558176ejt.86.1571067156478; Mon, 14 Oct 2019 08:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571067156; cv=none; d=google.com; s=arc-20160816; b=SrX4/ahSt6PNxV1sXBpo/vHPn5Uk1OFWdeqwLWU1fBe0anPddwrUtTVhRT/qTEDuYL Rd/lRpBNY5aavjoby7K8ZhaR+NH+Zm85X7L9yq6Ig+aFVS3q9SkQDTeQC1OIHM5p+mTC raTYWczSZzArLlOCfcKzElMtQdI+q5xtA0HeLyGQrWzB9UtnN9Zstwg9LtnoTaekfmY8 4WIklkJbkLJXMaLWuINe0aXK5joqHmJmxbK5pmjUyMha+SjFomcJsKttUMYGJph6QDQm wL7TG6lMAz3rtZ9KMrzuu2tdk02LceGTnoxku+1YEk+vsUOALtklrpy4IdysxlwkHUii 5PPw== 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 l3si13131176edc.109.2019.10.14.08.32.36; Mon, 14 Oct 2019 08:32:36 -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 S2387585AbfJNPce (ORCPT + 12 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(-) -- 2.17.1 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++) {