diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-09-16 20:05:34 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-11-05 17:40:05 +0300 |
commit | f12ebfd31eed4fab148c4897e95713641e3816cf (patch) | |
tree | 1457cc62dc8790cb3fbe426aeb3e7883b28bd7df /drivers/mfd | |
parent | 23ee74df137378320b3cc607d37cfca1b49907c3 (diff) | |
download | linux-f12ebfd31eed4fab148c4897e95713641e3816cf.tar.xz |
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/cros_ec_dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c index 8c08d1c55726..81cee1a5daa6 100644 --- a/drivers/mfd/cros_ec_dev.c +++ b/drivers/mfd/cros_ec_dev.c @@ -326,7 +326,6 @@ static void __exit cros_ec_dev_exit(void) module_init(cros_ec_dev_init); module_exit(cros_ec_dev_exit); -MODULE_ALIAS("platform:" DRV_NAME); MODULE_AUTHOR("Bill Richardson <wfrichar@chromium.org>"); MODULE_DESCRIPTION("Userspace interface to the Chrome OS Embedded Controller"); MODULE_VERSION("1.0"); |