Received: by 10.213.65.68 with SMTP id h4csp1212443imn; Mon, 26 Mar 2018 03:11:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELtA2k/5sCAL3ffvtOSpULU+DuTCmW7J96BhpUybI/csRhnNQuHYDF/cQ7MkxEiTF1DKwXpF X-Received: by 10.99.111.139 with SMTP id k133mr28572620pgc.236.1522059087914; Mon, 26 Mar 2018 03:11:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522059087; cv=none; d=google.com; s=arc-20160816; b=qGLykQPTEoe8zA06VwFSpZ8UjMQO/svid1zzghUnPwH9ucwtRv53ioECANyHIfIMJl RalbcTlqOGtZz8vuAT1lUjhN+CBPh76sVKl8V6IpSxWYfxG+GaXO7/uYwvj0LGa8t3VV lB23xJ47cJls52v5eDAYLLlLdF4E+UyeVWhjlRx9bkxgyo7B/cpfeNSFbqJqr5gDPU/f +gw8wazzlej8NbafyO/cJmtKM9AQUGyrDCs5eW2YrSV7vXw0zUl/pOGO+nwXxmStpVP4 3BHQaXXxwIbisbclVk+z8Na1ivBLEVqD9k/cj0awaGIPIX6g6X//pS8F+c97sv+Z7ada UEjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=IcG5fT/jViIgpW0/2jX82GcR/dECMqFKzp+u5KbyKKg=; b=F6SUnwBmQQs+XdUNTdEwLu7mneafloZYTrAp/LaH5zjzkgc5ldf6zlruUjTYIdNWWR 1l+ZVBrS7BpY3uUHoKRPB+9V9JHIlDaENP3FHlJ05ea/DnsESDf1aSNRiXDAiCOgYLCi Iq0VdqGNWhvHe7CCuLNuT/ut8a9is1ioIRvcuuNRzyWC4Ty2EINmskw8k2SlqVPLvPtZ B07nmVBYfTfHqH22a7iNaUqLZF6T4jAjF9I0AtbqsGMTJWYR7Zg1gH7oVWF2WnD7BxKd ieVfFCBD3qsR3y09WafzCGRDIu9hQl61YGG6CA6B6LOciNA3Skj2CbfFIn87vLy+rMYh Di7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a8-v6si14859870plz.320.2018.03.26.03.11.13; Mon, 26 Mar 2018 03:11:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751214AbeCZKJp (ORCPT + 99 others); Mon, 26 Mar 2018 06:09:45 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:48562 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750972AbeCZKJo (ORCPT ); Mon, 26 Mar 2018 06:09:44 -0400 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: , , , , , , CC: , , , , "Sean Wang" 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 Content-Type: text/plain 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"); -- 2.7.4