All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwrng: meson: Remove unneeded platform MODULE_ALIAS
@ 2016-10-19 19:50 ` Javier Martinez Canillas
  0 siblings, 0 replies; 12+ messages in thread
From: Javier Martinez Canillas @ 2016-10-19 19:50 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, Kevin Hilman, Neil Armstrong,
	PrasannaKumar Muralidharan, Carlo Caione, linux-amlogic,
	Herbert Xu, Matt Mackall, linux-arm-kernel, linux-crypto

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-rng") since
the reported uevent MODALIAS to user-space will always be the OF one.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---

 drivers/char/hw_random/meson-rng.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/char/hw_random/meson-rng.c b/drivers/char/hw_random/meson-rng.c
index 51864a509be7..119d698439ae 100644
--- a/drivers/char/hw_random/meson-rng.c
+++ b/drivers/char/hw_random/meson-rng.c
@@ -122,7 +122,6 @@ static struct platform_driver meson_rng_driver = {
 
 module_platform_driver(meson_rng_driver);
 
-MODULE_ALIAS("platform:meson-rng");
 MODULE_DESCRIPTION("Meson H/W Random Number Generator driver");
 MODULE_AUTHOR("Lawrence Mok <lawrence.mok@amlogic.com>");
 MODULE_AUTHOR("Neil Armstrong <narmstrong@baylibre.com>");
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-10-25  3:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-19 19:50 [PATCH] hwrng: meson: Remove unneeded platform MODULE_ALIAS Javier Martinez Canillas
2016-10-19 19:50 ` Javier Martinez Canillas
2016-10-19 19:50 ` Javier Martinez Canillas
2016-10-20 16:24 ` Kevin Hilman
2016-10-20 16:24   ` Kevin Hilman
2016-10-20 16:24   ` Kevin Hilman
2016-10-21 14:11 ` Neil Armstrong
2016-10-21 14:11   ` Neil Armstrong
2016-10-21 14:11   ` Neil Armstrong
2016-10-25  3:43 ` Herbert Xu
2016-10-25  3:43   ` Herbert Xu
2016-10-25  3:43   ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.