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: 6794191 Return-Path: X-Original-To: patchwork-alsa-devel@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 111E19F380 for ; Wed, 15 Jul 2015 07:44:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 220CE20585 for ; Wed, 15 Jul 2015 07:44:55 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id E76392052A for ; Wed, 15 Jul 2015 07:44:53 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6A5962659E5; Wed, 15 Jul 2015 09:34:32 +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 02FDB265E26; Wed, 15 Jul 2015 09:27:15 +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 DD23F265AAD; Wed, 15 Jul 2015 09:27:13 +0200 (CEST) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by alsa0.perex.cz (Postfix) with ESMTP id 6065C265840 for ; Wed, 15 Jul 2015 09:19:38 +0200 (CEST) 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> for alsa-devel@alsa-project.org; Wed, 15 Jul 2015 08:19:35 +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 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== Cc: Krzysztof Kozlowski Subject: [alsa-devel] [PATCH v2 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 --- 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, },