pwm: meson: Remove unneeded platform MODULE_ALIAS
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 19 Oct 2016 19:49:59 +0000 (16:49 -0300)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 21 Oct 2016 07:12:41 +0000 (09:12 +0200)
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 <javier@osg.samsung.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-meson.c

index 381871b2bb46ba3439b4ca4bb7ace7277233b372..5678092cad4b6adf6e29ca471ccb0a5c39b05d07 100644 (file)
@@ -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 <narmstrong@baylibre.com>");
 MODULE_LICENSE("Dual BSD/GPL");