diff mbox series

spi: altera: Drop unneeded MODULE_ALIAS

Message ID 20240414154859.126931-1-krzk@kernel.org (mailing list archive)
State Accepted
Commit 770e3da3fe7ee7ffca745b7ac300ce39fe40f465
Headers show
Series spi: altera: Drop unneeded MODULE_ALIAS | expand

Commit Message

Krzysztof Kozlowski April 14, 2024, 3:48 p.m. UTC
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.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/spi/spi-altera-platform.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown April 15, 2024, 10:53 a.m. UTC | #1
On Sun, 14 Apr 2024 17:48:59 +0200, Krzysztof Kozlowski wrote:
> 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
diff mbox series

Patch

diff --git a/drivers/spi/spi-altera-platform.c b/drivers/spi/spi-altera-platform.c
index 72e7a0f21793..585393802e9f 100644
--- a/drivers/spi/spi-altera-platform.c
+++ b/drivers/spi/spi-altera-platform.c
@@ -169,4 +169,3 @@  module_platform_driver(altera_spi_driver);
 MODULE_DESCRIPTION("Altera SPI driver");
 MODULE_AUTHOR("Thomas Chou <thomas@wytron.com.tw>");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:" DRV_NAME);