diff options
author | Sean Wang <sean.wang@mediatek.com> | 2018-03-26 18:02:01 +0800 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2018-03-28 00:31:59 +0200 |
commit | f3617876364c0471b4779a0d05539f210693e45f (patch) | |
tree | 2f62a1e0900ba438846dac25af858817ec52a099 | |
parent | 360cc036563db27881ce08049f69138438f2ddd0 (diff) | |
download | linux-stable-f3617876364c0471b4779a0d05539f210693e45f.tar.gz linux-stable-f3617876364c0471b4779a0d05539f210693e45f.tar.bz2 linux-stable-f3617876364c0471b4779a0d05539f210693e45f.zip |
pwm: mediatek: Remove redundant MODULE_ALIAS entries
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>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
-rw-r--r-- | drivers/pwm/pwm-mediatek.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c index 796baea7e8fe..502c366c7d7c 100644 --- a/drivers/pwm/pwm-mediatek.c +++ b/drivers/pwm/pwm-mediatek.c @@ -298,5 +298,4 @@ static struct platform_driver mtk_pwm_driver = { module_platform_driver(mtk_pwm_driver); MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); -MODULE_ALIAS("platform:mtk-pwm"); MODULE_LICENSE("GPL"); |