From: Krzysztof Kozlowski <krzk@kernel.org>
To: Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Subject: [PATCH] mtd: mchp23k256: drop unneeded MODULE_ALIAS
Date: Sun, 14 Apr 2024 17:49:56 +0200 [thread overview]
Message-ID: <20240414154957.127113-2-krzk@kernel.org> (raw)
In-Reply-To: <20240414154957.127113-1-krzk@kernel.org>
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>
---
drivers/mtd/devices/mchp23k256.c | 1 -
1 file changed, 1 deletion(-)
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");
--
2.34.1
next prev parent reply other threads:[~2024-04-14 15:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-14 15:49 [PATCH 1/2] eeprom: at25: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
2024-04-14 15:49 ` Krzysztof Kozlowski [this message]
2024-04-14 15:49 ` [PATCH 2/2] eeprom: 93xx46: " Krzysztof Kozlowski
2024-05-08 17:53 ` Andy Shevchenko
2024-05-08 18:15 ` Krzysztof Kozlowski
2024-05-08 18:28 ` Andy Shevchenko
2024-05-08 18:44 ` Krzysztof Kozlowski
2024-05-08 19:11 ` Arnd Bergmann
2024-05-08 19:17 ` Krzysztof Kozlowski
2024-05-10 14:28 ` Andy Shevchenko
-- strict thread matches above, loose matches on Subject: below --
2024-04-14 15:49 [PATCH] mtd: mchp23k256: " Krzysztof Kozlowski
2024-04-15 10:06 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240414154957.127113-2-krzk@kernel.org \
--to=krzk@kernel.org \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox