rtc: mcp795: drop unneeded MODULE_ALIAS
PATCH 1/1 rtc: mcp795: 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 <[email protected]>
--- drivers/rtc/rtc-mcp795.c | 1 - 1 file changed, 1 deletion(-)
drivers/rtc/rtc-mcp795.c +0 -1
@@ -450,4 +450,3 @@ module_spi_driver(mcp795_driver);MODULE_DESCRIPTION ("MCP795 RTC SPI Driver" );MODULE_AUTHOR ("Josef Gajdusek <[email protected]>" );MODULE_LICENSE ("GPL" ); -MODULE_ALIAS ("spi:mcp795" );
Signature · 1 line
2.34.1
Quoted 5 lines · Krzysztof Kozlowski
The ID table already has respective entry and
MODULE_DEVICE_TABLEand creates proper alias for SPI driver. Having anotherMODULE_ALIAScauses the alias to be duplicated.
Applied, thanks!
[1/1] rtc: mcp795: drop unneeded MODULE_ALIAS
https://git.kernel.org/abelloni/c/393e3d290f61
Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com