aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorGravatar Krzysztof Kozlowski <krzk@kernel.org> 2024-04-14 17:49:43 +0200
committerGravatar Miquel Raynal <miquel.raynal@bootlin.com> 2024-04-15 12:06:06 +0200
commit6277967d872e229de53b0585ebc34c8172965492 (patch)
tree6a9143865dff3745c16da55f6e6bc625211c195b /drivers/mtd
parentdt-bindings: mtd: fixed-partition: Add binman compatibles (diff)
downloadlinux-6277967d872e229de53b0585ebc34c8172965492.tar.gz
linux-6277967d872e229de53b0585ebc34c8172965492.tar.bz2
linux-6277967d872e229de53b0585ebc34c8172965492.zip
mtd: mchp23k256: 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> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240414154943.127079-1-krzk@kernel.org
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/devices/mchp23k256.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/mchp23k256.c b/drivers/mtd/devices/mchp23k256.c
index d533475fda15..cef5f9677d39 100644
--- a/drivers/mtd/devices/mchp23k256.c
+++ b/drivers/mtd/devices/mchp23k256.c
@@ -257,4 +257,3 @@ module_spi_driver(mchp23k256_driver);
MODULE_DESCRIPTION("MTD SPI driver for MCHP23K256 RAM chips");
MODULE_AUTHOR("Andrew Lunn <andre@lunn.ch>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("spi:mchp23k256");