Skip to contentSkip to conversation

spi: altera: Drop unneeded MODULE_ALIAS

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Apr 14, 2024 – Apr 15, 2024 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: altera: Drop unneeded MODULE_ALIAS

The ID table already has respective entry and MODULE_DEVICE_TABLE and creates proper alias for platform driver. Having another MODULE_ALIAS causes the alias to be duplicated.

---
 drivers/spi/spi-altera-platform.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-altera-platform.c +0 -1
index 72e7a0f21793..585393802e9f 100644
@@ -169,4 +169,3 @@ module_platform_driver(altera_spi_driver);
 MODULE_DESCRIPTION("Altera SPI driver");
 MODULE_AUTHOR("Thomas Chou <[email protected]>");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:" DRV_NAME);
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 5 lines · Krzysztof Kozlowski

The ID table already has respective entry and MODULE_DEVICE_TABLE and creates proper alias for platform driver. Having another MODULE_ALIAS causes the alias to be duplicated.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: altera: Drop unneeded MODULE_ALIAS

      commit: 770e3da3fe7ee7ffca745b7ac300ce39fe40f465

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark