mtd: drop unused module aliases
Subsystems (10)
cover mtd: drop unused module aliases
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
Johan Hovold (8):
mtd: hyperbus: hbmc-am654: drop unused module alias
mtd: onenand: omap2: drop unused module alias
mtd: rawnand: atmel: drop unused module alias
mtd: rawnand: omap2: drop unused module alias
mtd: rawnand: pl353: drop unused module alias
mtd: rawnand: rockchip: drop unused module alias
mtd: rawnand: stm32_fmc2: drop unused module alias
mtd: rawnand: sunxi: drop unused module alias
drivers/mtd/hyperbus/hbmc-am654.c | 1 - drivers/mtd/nand/onenand/onenand_omap2.c | 1 - drivers/mtd/nand/raw/atmel/pmecc.c | 1 - drivers/mtd/nand/raw/omap2.c | 1 - drivers/mtd/nand/raw/pl35x-nand-controller.c | 1 - drivers/mtd/nand/raw/rockchip-nand-controller.c | 1 - drivers/mtd/nand/raw/stm32_fmc2_nand.c | 1 - drivers/mtd/nand/raw/sunxi_nand.c | 1 - 8 files changed, 8 deletions(-)
Signature · 1 line
2.49.1
PATCH 1/8 mtd: hyperbus: hbmc-am654: drop unused module alias
The driver has never supported anything but OF probing so drop the unused platform module alias.
--- drivers/mtd/hyperbus/hbmc-am654.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/hyperbus/hbmc-am654.c +0 -1
@@ -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 <[email protected]>" );
Signature · 1 line
2.49.1
PATCH 2/8 mtd: onenand: omap2: drop unused module alias
In reply to Johan HovoldThe driver only supports OF probing since commit a758f50f10cf ("mtd:
onenand: omap2: Configure driver from DT") so drop the unused platform module alias.
--- drivers/mtd/nand/onenand/onenand_omap2.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/nand/onenand/onenand_omap2.c +0 -1
@@ -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 <[email protected]>" );MODULE_DESCRIPTION ("Glue layer for OneNAND flash on OMAP2 / OMAP3" );
Signature · 1 line
2.49.1
PATCH 3/8 mtd: rawnand: atmel: drop unused module alias
In reply to Johan HovoldThe driver only supports OF probing since commit f88fc122cc34 ("mtd:
nand: Cleanup/rework the atmel_nand driver") so drop the unused platform module alias.
--- drivers/mtd/nand/raw/atmel/pmecc.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/nand/raw/atmel/pmecc.c +0 -1
@@ -1010,4 +1010,3 @@ module_platform_driver(atmel_pmecc_driver);MODULE_LICENSE ("GPL" );MODULE_AUTHOR ("Boris Brezillon <[email protected]>" );MODULE_DESCRIPTION ("PMECC engine driver" ); -MODULE_ALIAS ("platform:atmel_pmecc" );
Signature · 1 line
2.49.1
PATCH 4/8 mtd: rawnand: omap2: drop unused module alias
In reply to Johan HovoldThe driver only supports OF probing since commit 086c321ec57b ("mtd:
nand: omap2: Remove omap_nand_platform_data") so drop the unused platform module alias.
--- drivers/mtd/nand/raw/omap2.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/nand/raw/omap2.c +0 -1
@@ -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" );
Signature · 1 line
2.49.1
PATCH 5/8 mtd: rawnand: pl353: drop unused module alias
In reply to Johan HovoldThe driver has never supported anything but OF probing so drop the unused platform module alias.
--- drivers/mtd/nand/raw/pl35x-nand-controller.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/nand/raw/pl35x-nand-controller.c +0 -1
@@ -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" );
Signature · 1 line
2.49.1
PATCH 6/8 mtd: rawnand: rockchip: drop unused module alias
In reply to Johan HovoldThe driver has never supported anything but OF probing so drop the unused platform module alias.
--- drivers/mtd/nand/raw/rockchip-nand-controller.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/nand/raw/rockchip-nand-controller.c +0 -1
@@ -1505,4 +1505,3 @@ module_platform_driver(rk_nfc_driver);MODULE_LICENSE ("Dual MIT/GPL" );MODULE_AUTHOR ("Yifeng Zhao <[email protected]>" );MODULE_DESCRIPTION ("Rockchip Nand Flash Controller Driver" ); -MODULE_ALIAS ("platform:rockchip-nand-controller" );
Signature · 1 line
2.49.1
PATCH 7/8 mtd: rawnand: stm32_fmc2: drop unused module alias
In reply to Johan HovoldThe driver has never supported anything but OF probing so drop the unused platform module alias.
--- drivers/mtd/nand/raw/stm32_fmc2_nand.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/nand/raw/stm32_fmc2_nand.c +0 -1
@@ -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 <[email protected]>" );MODULE_DESCRIPTION ("STMicroelectronics STM32 FMC2 NFC driver" );MODULE_LICENSE ("GPL v2" );
Signature · 1 line
2.49.1
PATCH 8/8 mtd: rawnand: sunxi: drop unused module alias
In reply to Johan HovoldThe driver has never supported anything but OF probing so drop the unused platform module alias.
--- drivers/mtd/nand/raw/sunxi_nand.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/nand/raw/sunxi_nand.c +0 -1
@@ -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" );
Signature · 1 line
2.49.1
Quoted 9 lines · Johan Hovold
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: 362f84c89e136539b8c3edb47f42fb06ce37bacfPatche(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