From patchwork Mon Mar 26 10:09:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 10307589 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5956E60212 for ; Mon, 26 Mar 2018 10:10:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3644D29089 for ; Mon, 26 Mar 2018 10:10:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 274A62957F; Mon, 26 Mar 2018 10:10:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 96F8329089 for ; Mon, 26 Mar 2018 10:10:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dCsBMgO/u3OwQwz9P12i5K6qC7XK0Gd2gcJbYfe29co=; b=Lv00OWaY8nk4Mi ON9r0mHVOymOQvzwoDtC0N8ZTO/GZXk98xHj9JGlQI4q0jSanDM3/U0c5uCpq6NeGtDGg6Ph/mkGC rrdd6/8kTH82xY24lkqQ5yPd6073CHd/Mq1c9GkOTujzqeVDBqrwrOvlZXIbjYcAueE9mLjZEQ0YC 69QO8NbEtBJ2ZZTATzs2IKGXMYneHOV/5ShpqWql3zfn+BnEwFEj7jZygrAeINrq/+OPvw0fVfrYZ sgb+ovTzi1t1N/LnDxQ3OyTqERIOZBoYd0sDBUdQ7QllVtr3mYe1+PWEB2hD/G6J0Tje6Rco/xiT8 TSX9dHIfISY8bH4NaQwg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0P4h-00007d-Hy; Mon, 26 Mar 2018 10:09:59 +0000 Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0P4c-0008WO-Nl; Mon, 26 Mar 2018 10:09:56 +0000 X-UUID: 19b14b023c3842e8980c11220fa62847-20180326 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1123215111; Mon, 26 Mar 2018 18:09:40 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 26 Mar 2018 18:09:39 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Mon, 26 Mar 2018 18:09:39 +0800 From: To: , , , , , , Subject: [PATCH 1/2] ASoC: mediatek: remove redundant MODULE_ALIAS entries Date: Mon, 26 Mar 2018 18:09:37 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.5042-8.2.9001-23742.005 X-TM-AS-Result: No-6.787700-8.000000-10 X-TMASE-MatchedRID: Ei0WBMmFdJjLqx3pQDUvTo0JVVcEm48nXs5nqGvDCfOl4EP+dy+wBGEj 04n4UkciNMW1025grLlEOP/MktCQ9nrAhMQyuycqA9lly13c/gHY1pm0AeTKatzOQo7mTgA+S1I /9i8OCx+Ymu1c9yHch6US0MnJVHzyHxPMjOKY7A8LbigRnpKlKWxlRJiH439786kkA1Y4nDR55i 3tSY/JSnGkIaGZhI1hXegadvDOV6Z6RItuE2T9Ng== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--6.787700-8.000000 X-TMASE-Version: SMEX-12.5.0.5042-8.2.9001-23742.005 X-TMASE-POSTMAN: 2-d; X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180326_030955_036558_9B365D90 X-CRM114-Status: UNSURE ( 6.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Sean Wang , linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sean Wang MODULE_ALIAS exports information to allow the module to be auto-loaded at boot for the drivers registered using legacy platform registration. However, currently the driver is always used by DT-only platform, MODULE_ALIAS is redundant and should be removed properly. Signed-off-by: Sean Wang --- sound/soc/mediatek/mt2701/mt2701-cs42448.c | 1 - sound/soc/mediatek/mt2701/mt2701-wm8960.c | 1 - sound/soc/mediatek/mt8173/mt8173-max98090.c | 1 - sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 1 - sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 1 - sound/soc/mediatek/mt8173/mt8173-rt5650.c | 1 - 6 files changed, 6 deletions(-) diff --git a/sound/soc/mediatek/mt2701/mt2701-cs42448.c b/sound/soc/mediatek/mt2701/mt2701-cs42448.c index 70f61d5..f664b9d 100644 --- a/sound/soc/mediatek/mt2701/mt2701-cs42448.c +++ b/sound/soc/mediatek/mt2701/mt2701-cs42448.c @@ -409,4 +409,3 @@ module_platform_driver(mt2701_cs42448_machine); MODULE_DESCRIPTION("MT2701 CS42448 ALSA SoC machine driver"); MODULE_AUTHOR("Ir Lian "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("mt2701 cs42448 soc card"); diff --git a/sound/soc/mediatek/mt2701/mt2701-wm8960.c b/sound/soc/mediatek/mt2701/mt2701-wm8960.c index a08ce23..a137057 100644 --- a/sound/soc/mediatek/mt2701/mt2701-wm8960.c +++ b/sound/soc/mediatek/mt2701/mt2701-wm8960.c @@ -172,5 +172,4 @@ module_platform_driver(mt2701_wm8960_machine); MODULE_DESCRIPTION("MT2701 WM8960 ALSA SoC machine driver"); MODULE_AUTHOR("Ryder Lee "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("mt2701 wm8960 soc card"); diff --git a/sound/soc/mediatek/mt8173/mt8173-max98090.c b/sound/soc/mediatek/mt8173/mt8173-max98090.c index e0c2b23..6e58af6 100644 --- a/sound/soc/mediatek/mt8173/mt8173-max98090.c +++ b/sound/soc/mediatek/mt8173/mt8173-max98090.c @@ -203,5 +203,4 @@ module_platform_driver(mt8173_max98090_driver); MODULE_DESCRIPTION("MT8173 MAX98090 ALSA SoC machine driver"); MODULE_AUTHOR("Koro Chen "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:mt8173-max98090"); diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c index 5a9a548..addbbb3 100644 --- a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c +++ b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c @@ -251,5 +251,4 @@ module_platform_driver(mt8173_rt5650_rt5514_driver); MODULE_DESCRIPTION("MT8173 RT5650 and RT5514 SoC machine driver"); MODULE_AUTHOR("Koro Chen "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:mtk-rt5650-rt5514"); diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c index b724808..f46e4c8 100644 --- a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c +++ b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c @@ -308,5 +308,4 @@ module_platform_driver(mt8173_rt5650_rt5676_driver); MODULE_DESCRIPTION("MT8173 RT5650 and RT5676 SoC machine driver"); MODULE_AUTHOR("Koro Chen "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:mtk-rt5650-rt5676"); diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650.c b/sound/soc/mediatek/mt8173/mt8173-rt5650.c index 679fc8b..e2e42e6 100644 --- a/sound/soc/mediatek/mt8173/mt8173-rt5650.c +++ b/sound/soc/mediatek/mt8173/mt8173-rt5650.c @@ -335,5 +335,4 @@ module_platform_driver(mt8173_rt5650_driver); MODULE_DESCRIPTION("MT8173 RT5650 SoC machine driver"); MODULE_AUTHOR("Koro Chen "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:mtk-rt5650");