diff options
author | David Mosberger-Tang <davidm@egauge.net> | 2021-12-09 05:44:27 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2021-12-14 19:46:33 +0100 |
commit | 4347d34e6a7699cb61a8bc19b86e460d6b67e5fb (patch) | |
tree | d8795dd1be0edd2c55a0587048fbc86009691dd9 /drivers/net/wireless/microchip/wilc1000/spi.c | |
parent | wilc1000: Fix spurious "FW not responding" error (diff) | |
download | linux-4347d34e6a7699cb61a8bc19b86e460d6b67e5fb.tar.xz linux-4347d34e6a7699cb61a8bc19b86e460d6b67e5fb.zip |
wilc1000: Rename SPI driver from "WILC_SPI" to "wilc1000_spi"
The name "wilc1000_spi" follows normal Linux conventions and also is
analogous to the SDIO driver, which uses "wilc1000_sdio".
Signed-off-by: David Mosberger-Tang <davidm@egauge.net>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211209044411.3482259-2-davidm@egauge.net
Diffstat (limited to 'drivers/net/wireless/microchip/wilc1000/spi.c')
-rw-r--r-- | drivers/net/wireless/microchip/wilc1000/spi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/microchip/wilc1000/spi.c b/drivers/net/wireless/microchip/wilc1000/spi.c index fc02217d6924..e0871b89917d 100644 --- a/drivers/net/wireless/microchip/wilc1000/spi.c +++ b/drivers/net/wireless/microchip/wilc1000/spi.c @@ -12,6 +12,8 @@ #include "netdev.h" #include "cfg80211.h" +#define SPI_MODALIAS "wilc1000_spi" + static bool enable_crc7; /* protect SPI commands with CRC7 */ module_param(enable_crc7, bool, 0644); MODULE_PARM_DESC(enable_crc7, @@ -209,7 +211,7 @@ MODULE_DEVICE_TABLE(spi, wilc_spi_id); static struct spi_driver wilc_spi_driver = { .driver = { - .name = MODALIAS, + .name = SPI_MODALIAS, .of_match_table = wilc_of_match, }, .id_table = wilc_spi_id, |