lkml.org 
[lkml]   [2018]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] usb: xhci-mtk: remove redundant MODULE_ALIAS entries
Date
From: Sean Wang <sean.wang@mediatek.com>

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 <sean.wang@mediatek.com>
---
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
\
 
 \ /
  Last update: 2018-03-26 12:04    [W:0.037 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site