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: 6761421 Return-Path: X-Original-To: patchwork-linux-mediatek@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4D8AF9F38C for ; Fri, 10 Jul 2015 05:31:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 693CC20721 for ; Fri, 10 Jul 2015 05:31:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3480920761 for ; Fri, 10 Jul 2015 05:31:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDQuI-0004Po-UN; Fri, 10 Jul 2015 05:31:30 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDQu4-0004Ip-Tz; Fri, 10 Jul 2015 05:31:17 +0000 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>; 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 Subject: [PATCH 2/2] ASoC: Drop owner assignment from platform_driver 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150709_223117_112947_AB390534 X-CRM114-Status: GOOD ( 17.06 ) X-Spam-Score: -7.2 (-------) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.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, },