mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
mfd: cros_ec: Drop unneeded MODULE_ALIAS
The MODULE_DEVICE_TABLE already creates proper alias. Having another MODULE_ALIAS causes the alias to be duplicated: $ modinfo cros_ec_dev.ko alias: platform:cros-ec-dev srcversion: F84A69D2156719A4F717A76 alias: platform:cros-ec-dev Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
23ee74df13
commit
f12ebfd31e
@ -326,7 +326,6 @@ static void __exit cros_ec_dev_exit(void)
|
|||||||
module_init(cros_ec_dev_init);
|
module_init(cros_ec_dev_init);
|
||||||
module_exit(cros_ec_dev_exit);
|
module_exit(cros_ec_dev_exit);
|
||||||
|
|
||||||
MODULE_ALIAS("platform:" DRV_NAME);
|
|
||||||
MODULE_AUTHOR("Bill Richardson <wfrichar@chromium.org>");
|
MODULE_AUTHOR("Bill Richardson <wfrichar@chromium.org>");
|
||||||
MODULE_DESCRIPTION("Userspace interface to the Chrome OS Embedded Controller");
|
MODULE_DESCRIPTION("Userspace interface to the Chrome OS Embedded Controller");
|
||||||
MODULE_VERSION("1.0");
|
MODULE_VERSION("1.0");
|
||||||
|
Loading…
Reference in New Issue
Block a user