]> git.karo-electronics.de Git - linux-beck.git/commitdiff
watchdog: meson: Remove unneeded platform MODULE_ALIAS
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 19 Oct 2016 19:49:42 +0000 (16:49 -0300)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 16 Dec 2016 14:53:53 +0000 (06:53 -0800)
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-gxbb-wdt")
since the reported uevent MODALIAS to user-space will be the OF one.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/meson_gxbb_wdt.c

index 44d180a2c5e571f3cc3f3f0d36a7c47fcd617ddb..45d47664a00a1a05598f46b79fb0d4c99274e747 100644 (file)
@@ -264,7 +264,6 @@ static struct platform_driver meson_gxbb_wdt_driver = {
 
 module_platform_driver(meson_gxbb_wdt_driver);
 
-MODULE_ALIAS("platform:meson-gxbb-wdt");
 MODULE_AUTHOR("Neil Armstrong <narmstrong@baylibre.com>");
 MODULE_DESCRIPTION("Amlogic Meson GXBB Watchdog timer driver");
 MODULE_LICENSE("Dual BSD/GPL");