Received: by 10.213.65.68 with SMTP id h4csp1207549imn; Mon, 26 Mar 2018 03:04:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELvpUKao3d8ztAz6Arlg/PCcO5C4M7RxVyB+iQ3/g44Bu6zbUCT32NXHGH0IDwmYEU/w5M8B X-Received: by 10.99.119.78 with SMTP id s75mr28445637pgc.238.1522058699196; Mon, 26 Mar 2018 03:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522058699; cv=none; d=google.com; s=arc-20160816; b=qrbyAfXXQn+QnY/F1nmWQZ2CS2xDt0RvHKCFYmaxx6WJH07M3fFFp4A3p+gC/+Lu+g RS6MV+XKGC15yEhHZxaHpkyBbk7Dmuio+GPBFEgUGYVDkqo2trU1aVT8xxq1K8sDTl+5 /cu4qKc84NKoGXDNyS8gAk1PevcVCFHN+KWyjrCHmHTFGVl2ieUmZTIV1iEqot3W4EAd UbIakXVv/X9sJP9CznRQ8kPdiO6KamXRYgZ1/rY1/LwLnGdM6XKe6EALIg+heFotckId jswqUow3i77hv1H4Qz44zBIbJbrdDTtBEudi7mq5ohjj25/ci0iJoECnxSHpNlydAoxT Kyqw== 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=diyv45ilkGWMrW3oocyzaQ/oTkD+vr+5JodxFCbnzb8=; b=sbc4ySE1bPDadlvpY6uIT/pvmoXg93hbYuFhqjxgOKGKTuZv8yQLTqk0IU14px1D/v 3COoi0DryfcS42w6m6wJeMgxxjLhlhUo77YAF9RqOmgCxmoaLvj2B8S06q4JPXTX6USt Uj8QJXQzgQGKYHt87Jg41SJIwgbzp7ONcSTFzeGshjwUro1Mkb5UW2g2ScJb7Q+Rhy/R nPJvhA70Oiti+VQbZwDdowb/orT35bItuxFEklhjLIKonGeBxRJGunfbFXoTfaEFVLyY LT120xQdWZ1A9oG8+tJU6hpfkH6l6dB/3yqVXaDgNpmoExCSesuF9GyVLy+DJOH7oOb3 Af4A== 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.04.45; Mon, 26 Mar 2018 03:04:59 -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 S1751859AbeCZKDr (ORCPT + 99 others); Mon, 26 Mar 2018 06:03:47 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:47030 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751010AbeCZKDq (ORCPT ); Mon, 26 Mar 2018 06:03:46 -0400 X-UUID: 48fed0e4be944e0f9c04a06602e56a5d-20180326 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 802659168; Mon, 26 Mar 2018 18:03:41 +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:03: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:03:39 +0800 From: To: , , , CC: , , , , "Sean Wang" Subject: [PATCH] usb: xhci-mtk: remove redundant MODULE_ALIAS entries Date: Mon, 26 Mar 2018 18:03:36 +0800 Message-ID: <9b7cc59683fc4d1d2b03419cec4b440d5d949114.1522055042.git.sean.wang@mediatek.com> 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-4.477500-8.000000-10 X-TMASE-MatchedRID: JLDJ3zY9u2nLqx3pQDUvTo0JVVcEm48nXs5nqGvDCfOl4EP+dy+wBGEj 04n4UkciNMW1025grLlEOP/MktCQ9nEjLiYgp5vhA9lly13c/gHrMzI9rN7ar3epM/I+teqco8W MkQWv6iUoTQl7wNH8Pg1fA1QHegDv3QfwsVk0UbvqwGfCk7KUs1IWi1zbDSk0FuA6kvnxMSkzI5 7RvsdMxSgazhgYRH0R6kfHXMypf7VCNPVgwfT02mQ9nh/r5//bi9il21BxQFoq4lEzoceWuQ9cv Ed/Et5dVEc5IqztENReYfSkFq6uAb7jE6+wkCSeftwZ3X11IV0= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.477500-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 --- drivers/usb/host/xhci-mtk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c index b0ab4d5..2807c769 100644 --- a/drivers/usb/host/xhci-mtk.c +++ b/drivers/usb/host/xhci-mtk.c @@ -766,7 +766,6 @@ static struct platform_driver mtk_xhci_driver = { .of_match_table = of_match_ptr(mtk_xhci_of_match), }, }; -MODULE_ALIAS("platform:xhci-mtk"); static int __init xhci_mtk_init(void) { -- 2.7.4