lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 18 Dec 2020 15:02:40 +0300 From: Dmitry Osipenko <digetx@...il.com> To: Thierry Reding <thierry.reding@...il.com>, Jonathan Hunter <jonathanh@...dia.com>, Peter Chen <Peter.Chen@....com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Alan Stern <stern@...land.harvard.edu>, Felipe Balbi <balbi@...nel.org>, Matt Merhar <mattmerhar@...tonmail.com>, Nicolas Chauvet <kwizart@...il.com>, Peter Geis <pgwipeout@...il.com>, Ion Agorria <ion@...rria.com> Cc: linux-tegra@...r.kernel.org, linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org Subject: [PATCH v3 3/9] usb: chipidea: tegra: Remove MODULE_ALIAS The OF core adds an alias based on the OF device ID table, which is enough to have the driver autoloaded. The legacy MODULE_ALIAS macro was relevant to a pre-OF board files which manually created platform devices, this is irrelevant to the modern ARM kernels since devices are created by the OF core. Remove the unnecessary macro in order to keep the driver's code cleaner. Tested-by: Matt Merhar <mattmerhar@...tonmail.com> Tested-by: Nicolas Chauvet <kwizart@...il.com> Tested-by: Peter Geis <pgwipeout@...il.com> Tested-by: Ion Agorria <ion@...rria.com> Acked-by: Thierry Reding <treding@...dia.com> Signed-off-by: Dmitry Osipenko <digetx@...il.com> --- drivers/usb/chipidea/ci_hdrc_tegra.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_tegra.c b/drivers/usb/chipidea/ci_hdrc_tegra.c index 7455df0ede49..10eaaba2a3f0 100644 --- a/drivers/usb/chipidea/ci_hdrc_tegra.c +++ b/drivers/usb/chipidea/ci_hdrc_tegra.c @@ -128,5 +128,4 @@ module_platform_driver(tegra_udc_driver); MODULE_DESCRIPTION("NVIDIA Tegra USB device mode driver"); MODULE_AUTHOR("Thierry Reding <treding@...dia.com>"); -MODULE_ALIAS("platform:tegra-udc"); MODULE_LICENSE("GPL v2"); -- 2.29.2
Powered by blists - more mailing lists