Message ID | 644cc5dae3a807dcfa276d86006bf4348900c93c.1503484313.git.dolinux.peng@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 04FAE60327 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 23 Aug 2017 12:21:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBAC328620 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 23 Aug 2017 12:21:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0E29286E2; Wed, 23 Aug 2017 12:21:42 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM, 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 97EBF28620 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 23 Aug 2017 12:21:41 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id BCA4A267757; Wed, 23 Aug 2017 14:21:39 +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 2CA9B267757; Wed, 23 Aug 2017 14:21:38 +0200 (CEST) Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by alsa0.perex.cz (Postfix) with ESMTP id BDCA4267713 for <alsa-devel@alsa-project.org>; Wed, 23 Aug 2017 14:21:14 +0200 (CEST) Received: by mail-pf0-f193.google.com with SMTP id r62so1313185pfj.4 for <alsa-devel@alsa-project.org>; Wed, 23 Aug 2017 05:21:14 -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=6pFbEi2YE3K0pc2FJcMpiESrlPPK7oobIO7z6gxDdUY=; b=kAY4Bsj44f+NCVUTWOfkJmrBW/CiW7TEVkYdBju3uDwDdbHZp4vHg6Ylz4Icl0/v+P UqsXimJEVlZ0DZY3/D8Ljl83jsRpH62mo2QpSw65nA5pXp/mLVB/GyX2AqpuRn9xqtQc 8hDZtzdCNvJ8w+TLYYpr6geF8y4tzwjuDALE6jlfqkf+g5hgPcHosbB/2S/miLa6DKt8 f5XqN/y+OltIRVHqD5RXOVu/P/Npc+uo3Z/UO420dAWfGJP8CkWJS4OmY7KcI8Mesty9 WMpeybFsF2G4lPkvQZWREMg5cPIs9+fSKaBDMCsMpiz8/sw0Jo6JVFxVYbfDWq5eBBfS 9E9Q== 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=6pFbEi2YE3K0pc2FJcMpiESrlPPK7oobIO7z6gxDdUY=; b=F5XLVm/xM+JFM0VvXk2R8qz6UWhOFvPo8ujiC6Qkvcg7ztbqgfweunM6JhQ0W2faV1 SBMLfHvttWbFwTC0ZapSIRl0HeMPbnmOj7NxqAuNB7l3xooOt6640lbWlLpV25at8SIg 36F63VWonrGTtKpO70bANPPz/TR9ksfxK5pAxWvTprmbpNmZsfdOOadudSs6QlcdIC/b sIu+Z1DJRqzABU4NuXLJzT8oaWg4YPxD98w5IvwOFdCbLpe8+JvmnGGt5tblMyRQ+CAQ C6VcF8J1pTVKJN+f0ZpzotaGAMj4ihfrRwtA0JPaGNEsKcko25UjKa/7Hq3TVH4J3rIm 1dCw== X-Gm-Message-State: AHYfb5iGfzrNipO8aNO6mZsJH4XKcLcTUoVtl+dWqvqc0+8y8sEZWqOp 37KKudpc3eI09Q== X-Received: by 10.84.248.14 with SMTP id p14mr2741486pll.205.1503490873332; Wed, 23 Aug 2017 05:21:13 -0700 (PDT) Received: from localhost ([45.41.135.42]) by smtp.gmail.com with ESMTPSA id r2sm3240647pfk.180.2017.08.23.05.21.12 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 23 Aug 2017 05:21:12 -0700 (PDT) From: Peng Donglin <dolinux.peng@gmail.com> To: wens@csie.org Date: Wed, 23 Aug 2017 05:21:08 -0700 Message-Id: <644cc5dae3a807dcfa276d86006bf4348900c93c.1503484313.git.dolinux.peng@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <cover.1503484313.git.dolinux.peng@gmail.com> References: <cover.1503484313.git.dolinux.peng@gmail.com> Cc: alsa-devel@alsa-project.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Peng Donglin <dolinux.peng@gmail.com>, tiwai@suse.com, broonie@kernel.org Subject: [alsa-devel] [PATCH v2 08/10] ASoC: sun4i-codec: 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" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 150069987c0c..82beeae8edc5 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi/sun4i-codec.c @@ -1655,7 +1655,6 @@ static int sun4i_codec_probe(struct platform_device *pdev) goto err_unregister_codec; } - platform_set_drvdata(pdev, card); snd_soc_card_set_drvdata(card, scodec); ret = snd_soc_register_card(card);
The work of the function platform_set_drvdata is done by devm_snd_soc_register_card. Signed-off-by: Peng Donglin <dolinux.peng@gmail.com> --- sound/soc/sunxi/sun4i-codec.c | 1 - 1 file changed, 1 deletion(-)