From patchwork Mon Mar 26 10:03:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 10307559 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 F3E7960212 for ; Mon, 26 Mar 2018 10:04:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDC0728EB7 for ; Mon, 26 Mar 2018 10:04:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C287729622; Mon, 26 Mar 2018 10:04:12 +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=ham 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 81D8A28EB7 for ; Mon, 26 Mar 2018 10:04:12 +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=TTtBGGwIbBtEthWQmkIlIvz9w08uL60Mdg9cGft1o9E=; b=qIHz6zmEuHnrfd RTrD2tJNjRIzUXU9TNhuLGG7oBc0g1yJDvw3ln9nEK8BE0S2ioPiIhp0O6tJydcbBCM7bNU5HLIru /T+6zLe5HWO6QWOXrDCvMK3L1oDYLk/jyqsnqfHvF90ZQjH08qRcSEvVKBFCK3iZxKHSDLMzHFkE+ 73J0BlBlXqoqimYlBNzL2nqA5ksWG5hz04/b3YMMpLmqzCw9gG3GE1mPYyLqR5vC5L3l2j/uOglLP dVi+HGm9/6+HASJzFo7lqIIApldz4TkTybsT0Vk0PkSXTla3uZp8ib1CXjTW4WAMoQ31Zza68NhsH Y4LDDGP4yFDsJfb3hS9g==; 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 1f0Oyy-0005v7-Uz; Mon, 26 Mar 2018 10:04:04 +0000 Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0Oyq-0005mS-9l; Mon, 26 Mar 2018 10:04:00 +0000 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: , , , 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180326_030356_485728_1C3AAA37 X-CRM114-Status: UNSURE ( 8.71 ) 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: linux-usb@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sean Wang 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 --- 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) {