From patchwork Wed Aug 23 12:17:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Donglin Peng X-Patchwork-Id: 9917247 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 602D960327 for ; Wed, 23 Aug 2017 12:18:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 522102869D for ; Wed, 23 Aug 2017 12:18:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46D45286AA; Wed, 23 Aug 2017 12:18:03 +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 7B9962869D for ; Wed, 23 Aug 2017 12:18:02 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 01B5126731B; Wed, 23 Aug 2017 14:18:01 +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 EAA9E26731F; Wed, 23 Aug 2017 14:17:59 +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 434E62672C2 for ; Wed, 23 Aug 2017 14:17:58 +0200 (CEST) Received: by mail-pg0-f68.google.com with SMTP id m133so1357926pga.2 for ; Wed, 23 Aug 2017 05:17:57 -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=K2bQ+9GhfUCnIllh5lkGTwR6vOxhp77ru32jaIwAQpQ=; b=urFlnBp+B/eo5v8+MLPCwYyhen93/etopfvZw3UzWQxLdZXJ9lugCJN0cqkaBxfyVQ gTPoSsMXkSB2qOdt2P/Fhk6JdaiigXlY+j8y4jRFx4TiAkwUmfnU7h70NusF60FXY0Fg pDUiAO8KoaUbkNSaYKlFVCJ7/wjkUzhZgP09j+y9gxV+sJnh8U2NP6L/ItCXF2aZyX9c woJ2gn6yrSaQmluPwafdR3Sr0LKk2iEwgsvOiLT31qOkLz/aO1ogeKXadpDnI41qYxCC FX6JsAsYapySJMOcAc0/YtMqqns6J7U+CZnMq1uOzty/OaPKZMcWr9wILz+RM5Vux3SS 9C6Q== 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=K2bQ+9GhfUCnIllh5lkGTwR6vOxhp77ru32jaIwAQpQ=; b=m0OvbehSZnZjURAiucD+hFBQ+Z5ZsFW3Drajh1ejNc78F3RWsd3lhlW9XFblU048Ll zpByGL8pcFuKS8Rdi88kz/p1m6XHD9n4eB9Ja6JYd6xz/uE+BnrapV1pooPC5WFMhukC hFTflH0wNemVQo6tmEMCKzHfLJs+xMvzwHfGmwPEihvaTvdE/3t5vCwNbvtMep5YONar 42qglpXWOBqYO1AMCiS8mQRVsP4fQXUoRsIQ5OZsC8px99P530lLXcAaTav7KczwDB6Z ePlPf0L+k3JQhabao7UmA6ztLd8UYmSvLClBbHXI1dlIQW6J7rCX8GE35Vtip+JJ9HwD ZEGw== X-Gm-Message-State: AHYfb5h42GPZUwVFk0oemlD4OuUWS6uGmxxETkmLU8jH0QbRX0vMDGrE Azjgi0SsqKHbfA== X-Received: by 10.98.192.209 with SMTP id g78mr2547851pfk.215.1503490677221; Wed, 23 Aug 2017 05:17:57 -0700 (PDT) Received: from localhost ([45.41.135.42]) by smtp.gmail.com with ESMTPSA id z86sm2761123pff.160.2017.08.23.05.17.55 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 23 Aug 2017 05:17:56 -0700 (PDT) From: Peng Donglin To: krzk@kernel.org, sbkim73@samsung.com, s.nawrocki@samsung.com Date: Wed, 23 Aug 2017 05:17:41 -0700 Message-Id: <0d466d509dc0490f82caf5f61de422ad03a95870.1503484313.git.dolinux.peng@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Cc: alsa-devel@alsa-project.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Peng Donglin , tiwai@suse.com, broonie@kernel.org Subject: [alsa-devel] [PATCH v2 01/10] ASoC: s3c24xx_uda134x: 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/samsung/s3c24xx_uda134x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/samsung/s3c24xx_uda134x.c b/sound/soc/samsung/s3c24xx_uda134x.c index 55538e333cc8..758e46e8061e 100644 --- a/sound/soc/samsung/s3c24xx_uda134x.c +++ b/sound/soc/samsung/s3c24xx_uda134x.c @@ -237,7 +237,6 @@ static int s3c24xx_uda134x_probe(struct platform_device *pdev) mutex_init(&priv->clk_lock); card->dev = &pdev->dev; - platform_set_drvdata(pdev, card); snd_soc_card_set_drvdata(card, priv); ret = devm_snd_soc_register_card(&pdev->dev, card);