diff options
| author | Javier Martinez Canillas <[email protected]> | 2016-10-19 19:49:59 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2016-10-21 07:12:41 +0000 |
| commit | 58d5b693637d9963018bcb92fecf858e6899ed49 (patch) | |
| tree | ce0849088684a9a3fd33bfc6d51509bc003fb6b0 /drivers/pwm/pwm-meson.c | |
| parent | Linux 4.9-rc1 (diff) | |
| download | kernel-58d5b693637d9963018bcb92fecf858e6899ed49.tar.gz kernel-58d5b693637d9963018bcb92fecf858e6899ed49.zip | |
pwm: meson: Remove unneeded platform MODULE_ALIAS
The Amlogic Meson is a DT-only platform, which means the devices are
registered via OF and not using the legacy platform devices support.
So there's no need to have a MODULE_ALIAS("platform:meson-pwm") since
the reported uevent MODALIAS to user-space will always be the OF one.
Signed-off-by: Javier Martinez Canillas <[email protected]>
Acked-by: Kevin Hilman <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-meson.c')
| -rw-r--r-- | drivers/pwm/pwm-meson.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c index 381871b2bb46..5678092cad4b 100644 --- a/drivers/pwm/pwm-meson.c +++ b/drivers/pwm/pwm-meson.c @@ -523,7 +523,6 @@ static struct platform_driver meson_pwm_driver = { }; module_platform_driver(meson_pwm_driver); -MODULE_ALIAS("platform:meson-pwm"); MODULE_DESCRIPTION("Amlogic Meson PWM Generator driver"); MODULE_AUTHOR("Neil Armstrong <[email protected]>"); MODULE_LICENSE("Dual BSD/GPL"); |
