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)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Apr 2010 18:37:54 +0000 (14:37 -0400)
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 9cc8c323830fdf8a34f5bf49cd7c43206fd523ea..df2ff8bc8ef4461336796731ed48015a78131ebb 100644 (file)
@@ -309,7 +309,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,
        },