mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mfd: wcd934x: replace MODULE_ALIAS() with MODULE_DEVICE_TABLE()
@ 2024-10-02 15:15 Masahiro Yamada
  2024-10-09 16:07 ` (subset) " Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2024-10-02 15:15 UTC (permalink / raw)
  To: Lee Jones, linux-kernel; +Cc: Masahiro Yamada

Since commit b4b818305578 ("slimbus: generate MODULE_ALIAS() from
MODULE_DEVICE_TABLE()"), modpost automatically generates MODULE_ALIAS()
from MODULE_DEVICE_TABLE(slim, ).

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 drivers/mfd/wcd934x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/wcd934x.c b/drivers/mfd/wcd934x.c
index fcd182d51981..3c3080e8c8cf 100644
--- a/drivers/mfd/wcd934x.c
+++ b/drivers/mfd/wcd934x.c
@@ -284,6 +284,7 @@ static const struct slim_device_id wcd934x_slim_id[] = {
 	  SLIM_DEV_IDX_WCD9340, SLIM_DEV_INSTANCE_ID_WCD9340 },
 	{}
 };
+MODULE_DEVICE_TABLE(slim, wcd934x_slim_id);
 
 static struct slim_driver wcd934x_slim_driver = {
 	.driver = {
@@ -298,5 +299,4 @@ static struct slim_driver wcd934x_slim_driver = {
 module_slim_driver(wcd934x_slim_driver);
 MODULE_DESCRIPTION("WCD934X slim driver");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("slim:217:250:*");
 MODULE_AUTHOR("Srinivas Kandagatla <srinivas.kandagatla@linaro.org>");
-- 
2.43.0


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

* Re: (subset) [PATCH] mfd: wcd934x: replace MODULE_ALIAS() with MODULE_DEVICE_TABLE()
  2024-10-02 15:15 [PATCH] mfd: wcd934x: replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() Masahiro Yamada
@ 2024-10-09 16:07 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2024-10-09 16:07 UTC (permalink / raw)
  To: Lee Jones, linux-kernel, Masahiro Yamada

On Thu, 03 Oct 2024 00:15:32 +0900, Masahiro Yamada wrote:
> Since commit b4b818305578 ("slimbus: generate MODULE_ALIAS() from
> MODULE_DEVICE_TABLE()"), modpost automatically generates MODULE_ALIAS()
> from MODULE_DEVICE_TABLE(slim, ).
> 
> 

Applied, thanks!

[1/1] mfd: wcd934x: replace MODULE_ALIAS() with MODULE_DEVICE_TABLE()
      commit: d64e5e0cda561d627bd0f2a1a4c7de9d842159d7

--
Lee Jones [李琼斯]


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

end of thread, other threads:[~2024-10-09 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-02 15:15 [PATCH] mfd: wcd934x: replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() Masahiro Yamada
2024-10-09 16:07 ` (subset) " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®