Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1504302 > unrolled thread

[PATCH] watchdog: meson: Remove unneeded platform MODULE_ALIAS

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2016-10-19 22:00 +0200
Last post2016-10-21 00:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] watchdog: meson: Remove unneeded platform MODULE_ALIAS Javier Martinez Canillas <javier@osg.samsung.com> - 2016-10-19 22:00 +0200
    Re: [PATCH] watchdog: meson: Remove unneeded platform MODULE_ALIAS Kevin Hilman <khilman@baylibre.com> - 2016-10-20 18:30 +0200
    Re: [PATCH] watchdog: meson: Remove unneeded platform MODULE_ALIAS Guenter Roeck <linux@roeck-us.net> - 2016-10-21 00:30 +0200

#1504302 — [PATCH] watchdog: meson: Remove unneeded platform MODULE_ALIAS

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-10-19 22:00 +0200
Subject[PATCH] watchdog: meson: Remove unneeded platform MODULE_ALIAS
Message-ID<su5bP-5KC-11@gated-at.bofh.it>
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>
---

 drivers/watchdog/meson_gxbb_wdt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/watchdog/meson_gxbb_wdt.c b/drivers/watchdog/meson_gxbb_wdt.c
index 44d180a2c5e5..45d47664a00a 100644
--- a/drivers/watchdog/meson_gxbb_wdt.c
+++ b/drivers/watchdog/meson_gxbb_wdt.c
@@ -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");
-- 
2.7.4

[toc] | [next] | [standalone]


#1505077

FromKevin Hilman <khilman@baylibre.com>
Date2016-10-20 18:30 +0200
Message-ID<suooa-1zb-11@gated-at.bofh.it>
In reply to#1504302
Javier Martinez Canillas <javier@osg.samsung.com> writes:

> 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>

> ---
>
>  drivers/watchdog/meson_gxbb_wdt.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/watchdog/meson_gxbb_wdt.c b/drivers/watchdog/meson_gxbb_wdt.c
> index 44d180a2c5e5..45d47664a00a 100644
> --- a/drivers/watchdog/meson_gxbb_wdt.c
> +++ b/drivers/watchdog/meson_gxbb_wdt.c
> @@ -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");

[toc] | [prev] | [next] | [standalone]


#1505302

FromGuenter Roeck <linux@roeck-us.net>
Date2016-10-21 00:30 +0200
Message-ID<suu0y-5cv-11@gated-at.bofh.it>
In reply to#1504302
On Wed, Oct 19, 2016 at 04:49:42PM -0300, Javier Martinez Canillas wrote:
> 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>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web