[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1435071185-24586-1-git-send-email-borneo.antonio@gmail.com>
Date: Tue, 23 Jun 2015 22:53:05 +0800
From: Antonio Borneo <borneo.antonio@...il.com>
To: Solomon Peachy <pizza@...ftnet.org>,
Kalle Valo <kvalo@...eaurora.org>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Cc: Antonio Borneo <borneo.antonio@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 5/6] wireless: cw1200: Remove redundant spi driver bus initialization
In ancient times it was necessary to manually initialize the bus
field of an spi_driver to spi_bus_type. These days this is done in
spi_register_driver(), so we can drop the manual assignment.
Signed-off-by: Antonio Borneo <borneo.antonio@...il.com>
To: Solomon Peachy <pizza@...ftnet.org>
To: Kalle Valo <kvalo@...eaurora.org>
To: linux-wireless@...r.kernel.org
To: netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
---
drivers/net/wireless/cw1200/cw1200_spi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wireless/cw1200/cw1200_spi.c b/drivers/net/wireless/cw1200/cw1200_spi.c
index 7603546..29185ae 100644
--- a/drivers/net/wireless/cw1200/cw1200_spi.c
+++ b/drivers/net/wireless/cw1200/cw1200_spi.c
@@ -467,7 +467,6 @@ static struct spi_driver spi_driver = {
.remove = cw1200_spi_disconnect,
.driver = {
.name = "cw1200_wlan_spi",
- .bus = &spi_bus_type,
.owner = THIS_MODULE,
#ifdef CONFIG_PM
.pm = &cw1200_pm_ops,
--
2.4.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists