From patchwork Fri Jul 10 05:30:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6761451 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5C3B9C05AC for ; Fri, 10 Jul 2015 05:32:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7659320722 for ; Fri, 10 Jul 2015 05:32:36 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 3BE7520715 for ; Fri, 10 Jul 2015 05:32:35 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 320A5266543; Fri, 10 Jul 2015 07:32:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 57F1E2665C2; Fri, 10 Jul 2015 07:31:32 +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 C507A2665C4; Fri, 10 Jul 2015 07:31:31 +0200 (CEST) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by alsa0.perex.cz (Postfix) with ESMTP id 01E522664F2 for ; Fri, 10 Jul 2015 07:30:58 +0200 (CEST) Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR90099EBBI6230@mailout2.w1.samsung.com> for alsa-devel@alsa-project.org; Fri, 10 Jul 2015 06:30:54 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-b3-559f588e00d7 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id C7.42.05269.E885F955; Fri, 10 Jul 2015 06:30:54 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NR9007HQBAW1G30@eusync1.samsung.com>; Fri, 10 Jul 2015 06:30:54 +0100 (BST) From: Krzysztof Kozlowski To: Lars-Peter Clausen , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Brian Austin , Paul Handrigan , Support Opensource , M R Swami Reddy , Vishwas A Deshpande , Bard Liao , Oder Chiou , Peter Rosin , Matthias Brugger , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, patches@opensource.wolfsonmicro.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Date: Fri, 10 Jul 2015 14:30:31 +0900 Message-id: <1436506231-8980-3-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1436506231-8980-1-git-send-email-k.kozlowski@samsung.com> References: <1436506231-8980-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsVy+t/xy7p9EfNDDfZtYbG4cvEQk8W1LZ1s Fn3H5zNbTH34hM3i9QtDiyWT57NafLvSwWSx6fE1VovLu+awWVxuvsho0dRibLHyXhu7xYmf C1kslr/9D9S58DeTxd5D8xktOnf1s1rsbb3IbPFy8xsmi5XfD7A7iHhs+NzE5jHtwGx2j96J t1g8VnzS99g56y67x6ZVnWwem5fUeyx5c4jV4+XE32we+94uY/N4/HYzu0ffllWMHptPV3sc v7GdyePzJrkA/igum5TUnMyy1CJ9uwSujK+v37IVzBCo2HpHroHxNG8XIyeHhICJRPeyVywQ tpjEhXvr2boYuTiEBJYySux79YkVJCEk8J9RYv4FJRCbTcBYYvPyJWBFIgKPWSW2TP7BCJJg FjCU+PnuD3sXIweHsICrxJFV5SBhFgFVicap39lAbF4BN4mH355ALZOTOHlsMitIOaeAu8Tn 6RYQq9wkLt48yjKBkXcBI8MqRtHU0uSC4qT0XCO94sTc4tK8dL3k/NxNjJBo+bqDcekxq0OM AhyMSjy8AWzzQ4VYE8uKK3MPMUpwMCuJ8PJLAIV4UxIrq1KL8uOLSnNSiw8xSnOwKInzztz1 PkRIID2xJDU7NbUgtQgmy8TBKdXAKPP3rwLfJ9FznXfneq06L/564s5JrC/fBEZ811j8h/+g 2tQf37OtE+5W+egYeLNnbNa/PfV0vUdCRNZxZW+Ou1WCPG97r31pWrI+L020vP2Bm8fVM+cr Hkkk9ZucmXh9p8M1JsYlk55niRb0n/l86qnik0dJGx2ennSaIHtt8fkFTxcv+O7gaKHEUpyR aKjFXFScCABAt1hBkgIAAA== Cc: Krzysztof Kozlowski Subject: [alsa-devel] [PATCH 2/2] ASoC: Drop owner assignment from platform_driver 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 platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski Acked-by: Koro Chen --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- sound/soc/mediatek/mt8173-max98090.c | 1 - sound/soc/mediatek/mt8173-rt5650-rt5676.c | 1 - sound/soc/mediatek/mtk-afe-pcm.c | 1 - 3 files changed, 3 deletions(-) diff --git a/sound/soc/mediatek/mt8173-max98090.c b/sound/soc/mediatek/mt8173-max98090.c index 4d44b5803e55..6311f31fa669 100644 --- a/sound/soc/mediatek/mt8173-max98090.c +++ b/sound/soc/mediatek/mt8173-max98090.c @@ -193,7 +193,6 @@ MODULE_DEVICE_TABLE(of, mt8173_max98090_dt_match); static struct platform_driver mt8173_max98090_driver = { .driver = { .name = "mt8173-max98090", - .owner = THIS_MODULE, .of_match_table = mt8173_max98090_dt_match, #ifdef CONFIG_PM .pm = &snd_soc_pm_ops, diff --git a/sound/soc/mediatek/mt8173-rt5650-rt5676.c b/sound/soc/mediatek/mt8173-rt5650-rt5676.c index 094055323059..4fd7dff15fe7 100644 --- a/sound/soc/mediatek/mt8173-rt5650-rt5676.c +++ b/sound/soc/mediatek/mt8173-rt5650-rt5676.c @@ -258,7 +258,6 @@ MODULE_DEVICE_TABLE(of, mt8173_rt5650_rt5676_dt_match); static struct platform_driver mt8173_rt5650_rt5676_driver = { .driver = { .name = "mtk-rt5650-rt5676", - .owner = THIS_MODULE, .of_match_table = mt8173_rt5650_rt5676_dt_match, #ifdef CONFIG_PM .pm = &snd_soc_pm_ops, diff --git a/sound/soc/mediatek/mtk-afe-pcm.c b/sound/soc/mediatek/mtk-afe-pcm.c index 9863da73dfe0..de38d2e8ef91 100644 --- a/sound/soc/mediatek/mtk-afe-pcm.c +++ b/sound/soc/mediatek/mtk-afe-pcm.c @@ -1220,7 +1220,6 @@ static const struct dev_pm_ops mtk_afe_pm_ops = { static struct platform_driver mtk_afe_pcm_driver = { .driver = { .name = "mtk-afe-pcm", - .owner = THIS_MODULE, .of_match_table = mtk_afe_pcm_dt_match, .pm = &mtk_afe_pm_ops, },