* [PATCH 1/8] mtd: hyperbus: hbmc-am654: drop unused module alias
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
@ 2025-09-22 15:31 ` Johan Hovold
2025-09-22 15:31 ` [PATCH 2/8] mtd: onenand: omap2: " Johan Hovold
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2025-09-22 15:31 UTC (permalink / raw)
To: Miquel Raynal
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel, Johan Hovold
The driver has never supported anything but OF probing so drop the
unused platform module alias.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/mtd/hyperbus/hbmc-am654.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/hyperbus/hbmc-am654.c b/drivers/mtd/hyperbus/hbmc-am654.c
index 82a1e7b7e4d8..9d31464046b2 100644
--- a/drivers/mtd/hyperbus/hbmc-am654.c
+++ b/drivers/mtd/hyperbus/hbmc-am654.c
@@ -272,5 +272,4 @@ module_platform_driver(am654_hbmc_platform_driver);
MODULE_DESCRIPTION("HBMC driver for AM654 SoC");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:hbmc-am654");
MODULE_AUTHOR("Vignesh Raghavendra <vigneshr@ti.com>");
--
2.49.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 2/8] mtd: onenand: omap2: drop unused module alias
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
2025-09-22 15:31 ` [PATCH 1/8] mtd: hyperbus: hbmc-am654: drop unused module alias Johan Hovold
@ 2025-09-22 15:31 ` Johan Hovold
2025-09-22 15:31 ` [PATCH 3/8] mtd: rawnand: atmel: " Johan Hovold
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2025-09-22 15:31 UTC (permalink / raw)
To: Miquel Raynal
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel, Johan Hovold
The driver only supports OF probing since commit a758f50f10cf ("mtd:
onenand: omap2: Configure driver from DT") so drop the unused platform
module alias.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/mtd/nand/onenand/onenand_omap2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/onenand/onenand_omap2.c b/drivers/mtd/nand/onenand/onenand_omap2.c
index f9a386b69050..0793251ada3b 100644
--- a/drivers/mtd/nand/onenand/onenand_omap2.c
+++ b/drivers/mtd/nand/onenand/onenand_omap2.c
@@ -603,7 +603,6 @@ static struct platform_driver omap2_onenand_driver = {
module_platform_driver(omap2_onenand_driver);
-MODULE_ALIAS("platform:" DRIVER_NAME);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Jarkko Lavinen <jarkko.lavinen@nokia.com>");
MODULE_DESCRIPTION("Glue layer for OneNAND flash on OMAP2 / OMAP3");
--
2.49.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 3/8] mtd: rawnand: atmel: drop unused module alias
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
2025-09-22 15:31 ` [PATCH 1/8] mtd: hyperbus: hbmc-am654: drop unused module alias Johan Hovold
2025-09-22 15:31 ` [PATCH 2/8] mtd: onenand: omap2: " Johan Hovold
@ 2025-09-22 15:31 ` Johan Hovold
2025-09-22 15:31 ` [PATCH 4/8] mtd: rawnand: omap2: " Johan Hovold
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2025-09-22 15:31 UTC (permalink / raw)
To: Miquel Raynal
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel, Johan Hovold
The driver only supports OF probing since commit f88fc122cc34 ("mtd:
nand: Cleanup/rework the atmel_nand driver") so drop the unused platform
module alias.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/mtd/nand/raw/atmel/pmecc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/atmel/pmecc.c b/drivers/mtd/nand/raw/atmel/pmecc.c
index 0b402823b619..1d0e93e4edb1 100644
--- a/drivers/mtd/nand/raw/atmel/pmecc.c
+++ b/drivers/mtd/nand/raw/atmel/pmecc.c
@@ -1010,4 +1010,3 @@ module_platform_driver(atmel_pmecc_driver);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Boris Brezillon <boris.brezillon@free-electrons.com>");
MODULE_DESCRIPTION("PMECC engine driver");
-MODULE_ALIAS("platform:atmel_pmecc");
--
2.49.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 4/8] mtd: rawnand: omap2: drop unused module alias
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
` (2 preceding siblings ...)
2025-09-22 15:31 ` [PATCH 3/8] mtd: rawnand: atmel: " Johan Hovold
@ 2025-09-22 15:31 ` Johan Hovold
2025-09-22 15:31 ` [PATCH 5/8] mtd: rawnand: pl353: " Johan Hovold
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2025-09-22 15:31 UTC (permalink / raw)
To: Miquel Raynal
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel, Johan Hovold
The driver only supports OF probing since commit 086c321ec57b ("mtd:
nand: omap2: Remove omap_nand_platform_data") so drop the unused
platform module alias.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/mtd/nand/raw/omap2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/omap2.c b/drivers/mtd/nand/raw/omap2.c
index 61fd98ad5c78..39e297486721 100644
--- a/drivers/mtd/nand/raw/omap2.c
+++ b/drivers/mtd/nand/raw/omap2.c
@@ -2332,6 +2332,5 @@ static struct platform_driver omap_nand_driver = {
module_platform_driver(omap_nand_driver);
-MODULE_ALIAS("platform:" DRIVER_NAME);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Glue layer for NAND flash on TI OMAP boards");
--
2.49.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 5/8] mtd: rawnand: pl353: drop unused module alias
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
` (3 preceding siblings ...)
2025-09-22 15:31 ` [PATCH 4/8] mtd: rawnand: omap2: " Johan Hovold
@ 2025-09-22 15:31 ` Johan Hovold
2025-09-22 15:31 ` [PATCH 6/8] mtd: rawnand: rockchip: " Johan Hovold
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2025-09-22 15:31 UTC (permalink / raw)
To: Miquel Raynal
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel, Johan Hovold
The driver has never supported anything but OF probing so drop the
unused platform module alias.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/mtd/nand/raw/pl35x-nand-controller.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/pl35x-nand-controller.c b/drivers/mtd/nand/raw/pl35x-nand-controller.c
index 09440ed4652e..a7dc45c7f214 100644
--- a/drivers/mtd/nand/raw/pl35x-nand-controller.c
+++ b/drivers/mtd/nand/raw/pl35x-nand-controller.c
@@ -1193,6 +1193,5 @@ static struct platform_driver pl35x_nandc_driver = {
module_platform_driver(pl35x_nandc_driver);
MODULE_AUTHOR("Xilinx, Inc.");
-MODULE_ALIAS("platform:" PL35X_NANDC_DRIVER_NAME);
MODULE_DESCRIPTION("ARM PL35X NAND controller driver");
MODULE_LICENSE("GPL");
--
2.49.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 6/8] mtd: rawnand: rockchip: drop unused module alias
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
` (4 preceding siblings ...)
2025-09-22 15:31 ` [PATCH 5/8] mtd: rawnand: pl353: " Johan Hovold
@ 2025-09-22 15:31 ` Johan Hovold
2025-09-22 15:31 ` [PATCH 7/8] mtd: rawnand: stm32_fmc2: " Johan Hovold
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2025-09-22 15:31 UTC (permalink / raw)
To: Miquel Raynal
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel, Johan Hovold
The driver has never supported anything but OF probing so drop the
unused platform module alias.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/mtd/nand/raw/rockchip-nand-controller.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/rockchip-nand-controller.c b/drivers/mtd/nand/raw/rockchip-nand-controller.c
index c5d7cd8a6cab..9444ba02696d 100644
--- a/drivers/mtd/nand/raw/rockchip-nand-controller.c
+++ b/drivers/mtd/nand/raw/rockchip-nand-controller.c
@@ -1505,4 +1505,3 @@ module_platform_driver(rk_nfc_driver);
MODULE_LICENSE("Dual MIT/GPL");
MODULE_AUTHOR("Yifeng Zhao <yifeng.zhao@rock-chips.com>");
MODULE_DESCRIPTION("Rockchip Nand Flash Controller Driver");
-MODULE_ALIAS("platform:rockchip-nand-controller");
--
2.49.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 7/8] mtd: rawnand: stm32_fmc2: drop unused module alias
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
` (5 preceding siblings ...)
2025-09-22 15:31 ` [PATCH 6/8] mtd: rawnand: rockchip: " Johan Hovold
@ 2025-09-22 15:31 ` Johan Hovold
2025-09-22 15:31 ` [PATCH 8/8] mtd: rawnand: sunxi: " Johan Hovold
2025-09-29 16:03 ` [PATCH 0/8] mtd: drop unused module aliases Miquel Raynal
8 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2025-09-22 15:31 UTC (permalink / raw)
To: Miquel Raynal
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel, Johan Hovold
The driver has never supported anything but OF probing so drop the
unused platform module alias.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/mtd/nand/raw/stm32_fmc2_nand.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/stm32_fmc2_nand.c b/drivers/mtd/nand/raw/stm32_fmc2_nand.c
index d957327fb4fa..c08d6b176372 100644
--- a/drivers/mtd/nand/raw/stm32_fmc2_nand.c
+++ b/drivers/mtd/nand/raw/stm32_fmc2_nand.c
@@ -2158,7 +2158,6 @@ static struct platform_driver stm32_fmc2_nfc_driver = {
};
module_platform_driver(stm32_fmc2_nfc_driver);
-MODULE_ALIAS("platform:stm32_fmc2_nfc");
MODULE_AUTHOR("Christophe Kerello <christophe.kerello@st.com>");
MODULE_DESCRIPTION("STMicroelectronics STM32 FMC2 NFC driver");
MODULE_LICENSE("GPL v2");
--
2.49.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 8/8] mtd: rawnand: sunxi: drop unused module alias
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
` (6 preceding siblings ...)
2025-09-22 15:31 ` [PATCH 7/8] mtd: rawnand: stm32_fmc2: " Johan Hovold
@ 2025-09-22 15:31 ` Johan Hovold
2025-09-29 16:03 ` [PATCH 0/8] mtd: drop unused module aliases Miquel Raynal
8 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2025-09-22 15:31 UTC (permalink / raw)
To: Miquel Raynal
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel, Johan Hovold
The driver has never supported anything but OF probing so drop the
unused platform module alias.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/mtd/nand/raw/sunxi_nand.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/sunxi_nand.c b/drivers/mtd/nand/raw/sunxi_nand.c
index 162cd5f4f234..f6a8e8ae819d 100644
--- a/drivers/mtd/nand/raw/sunxi_nand.c
+++ b/drivers/mtd/nand/raw/sunxi_nand.c
@@ -2205,4 +2205,3 @@ module_platform_driver(sunxi_nfc_driver);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Boris BREZILLON");
MODULE_DESCRIPTION("Allwinner NAND Flash Controller driver");
-MODULE_ALIAS("platform:sunxi_nand");
--
2.49.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH 0/8] mtd: drop unused module aliases
2025-09-22 15:30 [PATCH 0/8] mtd: drop unused module aliases Johan Hovold
` (7 preceding siblings ...)
2025-09-22 15:31 ` [PATCH 8/8] mtd: rawnand: sunxi: " Johan Hovold
@ 2025-09-29 16:03 ` Miquel Raynal
8 siblings, 0 replies; 10+ messages in thread
From: Miquel Raynal @ 2025-09-29 16:03 UTC (permalink / raw)
To: Johan Hovold
Cc: Tudor Ambarus, Richard Weinberger, Vignesh Raghavendra,
Kyungmin Park, Michal Simek, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-mtd,
linux-kernel
On Mon, 22 Sep 2025 17:30:59 +0200, Johan Hovold wrote:
> When fixing a device leak in the omap2 rawnand driver I noticed it had
> a no longer used platform module alias.
>
> This series drops unused module aliases from mtd drivers that never
> supported anything but OF probing or that no longer do.
>
> Johan
>
> [...]
Applied to mtd/next, thanks!
[1/8] mtd: hyperbus: hbmc-am654: drop unused module alias
commit: 192f981c14bfad4241446544cf0d27b9fa11a7bd
[2/8] mtd: onenand: omap2: drop unused module alias
commit: cc74c3f8e4bc01ecf9849a2b22706ba96a29f749
[3/8] mtd: rawnand: atmel: drop unused module alias
commit: 7a3f3c5bdecfe3cf6cdd35073c2729a46894a34d
[4/8] mtd: rawnand: omap2: drop unused module alias
commit: b1a5c6de97b4c861c1ad1e7ad3818ebd32be190e
[5/8] mtd: rawnand: pl353: drop unused module alias
commit: 1f7005d382f567b25cfb96d9f201f5448cf67f9a
[6/8] mtd: rawnand: rockchip: drop unused module alias
commit: 61163e7373f678c453a4505865e0f8b27e506de8
[7/8] mtd: rawnand: stm32_fmc2: drop unused module alias
commit: 2f05c108664056f91e5f9171169c685f517ac568
[8/8] mtd: rawnand: sunxi: drop unused module alias
commit: 362f84c89e136539b8c3edb47f42fb06ce37bacf
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 10+ messages in thread