From patchwork Wed Aug 23 12:21:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Donglin Peng X-Patchwork-Id: 9917295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4A0E260327 for ; Wed, 23 Aug 2017 12:23:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C65928620 for ; Wed, 23 Aug 2017 12:23:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F7F028784; Wed, 23 Aug 2017 12:23:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C7F62874A for ; Wed, 23 Aug 2017 12:23:21 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id B238E267734; Wed, 23 Aug 2017 14:22:21 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4FC0B267712; Wed, 23 Aug 2017 14:22:19 +0200 (CEST) Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by alsa0.perex.cz (Postfix) with ESMTP id 29EF5267754 for ; Wed, 23 Aug 2017 14:21:51 +0200 (CEST) Received: by mail-pg0-f68.google.com with SMTP id m133so1365933pga.2 for ; Wed, 23 Aug 2017 05:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+DM7KMo/3CbjCcWQeuHsLwVIR8Koun9WW8/sIg9SWJw=; b=nhf64u02pf0pJWnPpXdD2Ymb0fc4QBXAmeZWwhrMRvR/jC3Efq99rBoAKNE26kzTn+ VS7CEp3jU3aT8PUWWKEFrzO/i/TVgY3thaMpNYwL2K4HBNGHDGG7r+F67I8krpH+c1IA Ya9ex58Mo17DMfYaN5A5+xC22pyQVXdtrup/W9Psnnw0Xwf8yteb+Drbly5f+o8vkZ0s fshYgb5CNfHwHLY6Cfr2hOn4ddvsCgBcnQyHRYbwNm4v2U0QGRMVIUhgKcltATeEqytb cLkn+xjSOeJ3IN1fjN8qCfxNitilGIGk/JgQGCcjvyeOiBysLaIsVVQAlchu7Yar7Im9 MgDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+DM7KMo/3CbjCcWQeuHsLwVIR8Koun9WW8/sIg9SWJw=; b=e26ENxNtnYNamKUso69g34mZtlMHQSGlbmyv24P0Q7hoXFJ1EDOWcsqcAoLv2BpePu nmLyY260y8I9fORJdL4DnVAWXu0yC7ngBZW5g+lZeRjskpp+cUPu4gKQ4xSl7f1gfCig toxxLfO1Fsa0a/Dz93oRMMNewie0l0fJxB74zIEJ4gxZPDBazGGZ3ZjmOP1eP8tjascY zBwOz8lRipQBddL1iS1yiAz9kA5mq5pyJb52y+GwyThAfFjsjI3krhzKXok5NOSCpTYk T/HLdaEwObY2ElYuAKPe9PB/hN5KhzxCoUk/WPJT3Ntta3wHa+RZtkXoA1eknnxjGe0X aSbQ== X-Gm-Message-State: AHYfb5g3tZXrkxQmCe5XtS7BkLhG8ENrDSQ4juhKKuKIWRs3BVQGdf63 HtoMJWxD+pxArV8vI5aYKw== X-Received: by 10.98.30.7 with SMTP id e7mr2570415pfe.329.1503490910383; Wed, 23 Aug 2017 05:21:50 -0700 (PDT) Received: from localhost ([45.41.135.42]) by smtp.gmail.com with ESMTPSA id r15sm2910524pfj.125.2017.08.23.05.21.47 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 23 Aug 2017 05:21:48 -0700 (PDT) From: Peng Donglin To: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Date: Wed, 23 Aug 2017 05:21:43 -0700 Message-Id: <32013b183a9bf0eeb22e98039324bd04df4276a7.1503484313.git.dolinux.peng@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Cc: broonie@kernel.org, tiwai@suse.com, Peng Donglin Subject: [alsa-devel] [PATCH v2 10/10] ASoC: ux500: Remove unnecessary function call X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The work of the function platform_set_drvdata is done by devm_snd_soc_register_card. Signed-off-by: Peng Donglin --- sound/soc/ux500/mop500.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c index ba9fc099cf67..070a6880980e 100644 --- a/sound/soc/ux500/mop500.c +++ b/sound/soc/ux500/mop500.c @@ -115,7 +115,6 @@ static int mop500_probe(struct platform_device *pdev) dev_dbg(&pdev->dev, "%s: Card %s: Set platform drvdata.\n", __func__, mop500_card.name); - platform_set_drvdata(pdev, &mop500_card); snd_soc_card_set_drvdata(&mop500_card, NULL);