Skip to content

Commit e54837d

Browse files
hvilleneuvedoogregkh
authored andcommitted
serial: sc16is7xx: drop unneeded MODULE_ALIAS
The MODULE_DEVICE_TABLE() already creates the proper aliases for the SPI driver. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://lore.kernel.org/r/20231221231823.2327894-14-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2e57cef commit e54837d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/tty/serial/sc16is7xx.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,8 +1787,6 @@ static struct spi_driver sc16is7xx_spi_uart_driver = {
17871787
.remove = sc16is7xx_spi_remove,
17881788
.id_table = sc16is7xx_spi_id_table,
17891789
};
1790-
1791-
MODULE_ALIAS("spi:sc16is7xx");
17921790
#endif
17931791

17941792
#ifdef CONFIG_SERIAL_SC16IS7XX_I2C

0 commit comments

Comments
 (0)