From: Kalle Valo <kvalo@adurom.com>
Date: Fri, 2 Apr 2010 12:31:46 +0000 (+0300)
Subject: wl1251: use DRIVER_NAME macro in wl1251_spi_driver
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7590a550b88b8c3cb025f0a8ed58e279ad62e4c1;p=openwrt%2Fstaging%2Fblogic.git

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>
---

diff --git a/drivers/net/wireless/wl12xx/wl1251_spi.c b/drivers/net/wireless/wl12xx/wl1251_spi.c
index 9cc8c323830f..df2ff8bc8ef4 100644
--- a/drivers/net/wireless/wl12xx/wl1251_spi.c
+++ b/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 = {
 	.driver = {
-		.name		= "wl1251",
+		.name		= DRIVER_NAME,
 		.bus		= &spi_bus_type,
 		.owner		= THIS_MODULE,
 	},