Browse Source

wl1251: use DRIVER_NAME macro in wl1251_spi_driver

Better use the macro for consistency, the content is the same anyway.

Signed-off-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Kalle Valo 15 năm trước cách đây
mục cha
commit
7590a550b8

+ 1 - 1
drivers/net/wireless/wl12xx/wl1251_spi.c

@@ -309,7 +309,7 @@ static int __devexit wl1251_spi_remove(struct spi_device *spi)
 
 
 static struct spi_driver wl1251_spi_driver = {
 static struct spi_driver wl1251_spi_driver = {
 	.driver = {
 	.driver = {
-		.name		= "wl1251",
+		.name		= DRIVER_NAME,
 		.bus		= &spi_bus_type,
 		.bus		= &spi_bus_type,
 		.owner		= THIS_MODULE,
 		.owner		= THIS_MODULE,
 	},
 	},