Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752825AbbGJFbK (ORCPT ); Fri, 10 Jul 2015 01:31:10 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:58449 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751990AbbGJFa4 (ORCPT ); Fri, 10 Jul 2015 01:30:56 -0400 X-AuditID: cbfec7f5-f794b6d000001495-b3-559f588e00d7 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 Cc: Krzysztof Kozlowski 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== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2263 Lines: 59 platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- 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, }, -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/