wl1251: use DRIVER_NAME macro in wl1251_spi_driver
authorKalle Valo <kvalo@adurom.com>
Fri, 2 Apr 2010 12:31:46 +0000 (15:31 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 20 Apr 2010 13:13:47 +0000 (16:13 +0300)
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>
drivers/net/wireless/wl12xx/wl1251_spi.c

index 7d966be..7464ecc 100644 (file)
@@ -312,7 +312,7 @@ static int __devexit wl1251_spi_remove(struct spi_device *spi)
 
 static struct spi_driver wl1251_spi_driver = {
        .driver = {
-               .name           = "wl1251",
+               .name           = DRIVER_NAME,
                .bus            = &spi_bus_type,
                .owner          = THIS_MODULE,
        },