summaryrefslogtreecommitdiffstats
path: root/drivers/misc/eeprom/at25.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2024-04-14 17:49:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-29 11:14:00 +0200
commit7c28f964b7febc00edfced0f499630005a800643 (patch)
tree5406dba8a07bf69e7238abdc3a88d59d272752b9 /drivers/misc/eeprom/at25.c
parentmcb: lpc: Convert to platform remove callback returning void (diff)
downloadlinux-7c28f964b7febc00edfced0f499630005a800643.tar.xz
linux-7c28f964b7febc00edfced0f499630005a800643.zip
eeprom: at25: drop unneeded MODULE_ALIAS
The ID table already has respective entry and MODULE_DEVICE_TABLE and creates proper alias for SPI driver. Having another MODULE_ALIAS causes the alias to be duplicated. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20240414154957.127113-1-krzk@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/eeprom/at25.c')
-rw-r--r--drivers/misc/eeprom/at25.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c
index 65d49a6de1a7..595ceb9a7126 100644
--- a/drivers/misc/eeprom/at25.c
+++ b/drivers/misc/eeprom/at25.c
@@ -529,4 +529,3 @@ module_spi_driver(at25_driver);
MODULE_DESCRIPTION("Driver for most SPI EEPROMs");
MODULE_AUTHOR("David Brownell");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("spi:at25");