From patchwork Wed Jul 15 04:21:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6793731 Return-Path: X-Original-To: patchwork-linux-mediatek@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 C1B30C05AC for ; Wed, 15 Jul 2015 07:20:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DB007205E2 for ; Wed, 15 Jul 2015 07:20:18 +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 0A2AC20592 for ; Wed, 15 Jul 2015 07:20:18 +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 1ZFGzJ-0005Cq-Ou; Wed, 15 Jul 2015 07:20:17 +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 1ZFGz4-0003vI-UG; Wed, 15 Jul 2015 07:20:03 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NRI00BRNPONI670@mailout2.w1.samsung.com>; Wed, 15 Jul 2015 08:19:36 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-7c-55a60987a378 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id A7.48.04846.78906A55; Wed, 15 Jul 2015 08:19:35 +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 <0NRI002PTPO72F40@eusync1.samsung.com>; Wed, 15 Jul 2015 08:19:35 +0100 (BST) From: Krzysztof Kozlowski To: Lars-Peter Clausen , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Brian Austin , Paul Handrigan , Support Opensource , 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 v2 2/2] ASoC: Drop owner assignment from platform_driver Date: Wed, 15 Jul 2015 13:21:45 +0900 Message-id: <1436934105-12700-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1436934105-12700-1-git-send-email-k.kozlowski@samsung.com> References: <1436934105-12700-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNLMWRmVeSWpSXmKPExsVy+t/xy7rtnMtCDZY0m1pcuXiIyeLalk42 i77j85ktpj58wmbx+oWhxZLJ81ktvl3pYLLY9Pgaq8XlXXPYLC43X2S0aGoxtjjxcyGLxfK3 /4GaFv5msth7aD6jReeuflaLva0XmS1ebn7DZLHy+wF2B2GPDZ+b2DymHZjN7tE78RaLx4pP +h47Z91l99i0qpPNY/OSeo8lbw6xeryc+JvNY9/bZWwej99uZvfo27KK0WPz6WqP4ze2M3l8 3iQXwB/FZZOSmpNZllqkb5fAlXFsWmXBfv6Ky5/XsjQw/uDpYuTgkBAwkVi2JqWLkRPIFJO4 cG89G4gtJLCUUWL/x9QuRi4g+z+jxMw3r5lBEmwCxhKbly9hA0mICOxglTg5byE7SIJZwFDi 57s/YLawgIfE12sTWEBsFgFVib8bfrOC2LwC7hJL+m+wQWyTkzh5bDJYnBOofvKvm0wQm90l vvxuZJ/AyLuAkWEVo2hqaXJBcVJ6rqFecWJucWleul5yfu4mRkiUfNnBuPiY1SFGAQ5GJR7e G0uWhgqxJpYVV+YeYpTgYFYS4Z39ESjEm5JYWZValB9fVJqTWnyIUZqDRUmcd+6u9yFCAumJ JanZqakFqUUwWSYOTqkGRpPzMkXm8vtFLD2PrvyydTWD16aWsvkeakYTbvrcPfpt86yyFV8m h952+mjlWXb8tf6ST6vPHeyMSeK0dA8WZq+ZsMrmjKlGRPzSI1nX3DqiFj3o3PSw0nmPzQQr l0cT5X8/Nei6sbRow30PvsxnNt/f/rpw2I4nPMSmWGS5QOxR8w8mpQe/+iuxFGckGmoxFxUn AgDtRTezjgIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150715_002003_130536_430B61E4 X-CRM114-Status: GOOD ( 16.35 ) X-Spam-Score: -8.3 (--------) 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=-5.6 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 --- Changes since v1: 1. None --- 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 2d2536af141f..39e5660a39ac 100644 --- a/sound/soc/mediatek/mt8173-max98090.c +++ b/sound/soc/mediatek/mt8173-max98090.c @@ -202,7 +202,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 6f52eca05e26..b722145a684c 100644 --- a/sound/soc/mediatek/mt8173-rt5650-rt5676.c +++ b/sound/soc/mediatek/mt8173-rt5650-rt5676.c @@ -269,7 +269,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, },