All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antonio Borneo <borneo.antonio@gmail.com>
To: Solomon Peachy <pizza@shaftnet.org>,
	Kalle Valo <kvalo@codeaurora.org>,
	linux-wireless@vger.kernel.org, netdev@vger.kernel.org
Cc: Antonio Borneo <borneo.antonio@gmail.com>, linux-kernel@vger.kernel.org
Subject: [PATCH 5/6] wireless: cw1200: Remove redundant spi driver bus initialization
Date: Tue, 23 Jun 2015 22:53:05 +0800	[thread overview]
Message-ID: <1435071185-24586-1-git-send-email-borneo.antonio@gmail.com> (raw)
In-Reply-To: <1435070714-24174-1-git-send-email-borneo.antonio@gmail.com>

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@gmail.com>
To: Solomon Peachy <pizza@shaftnet.org>
To: Kalle Valo <kvalo@codeaurora.org>
To: linux-wireless@vger.kernel.org
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.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


  parent reply	other threads:[~2015-06-23 14:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23 14:45 [PATCH 0/6] Remove redundant spi driver bus initialization Antonio Borneo
2015-06-23 14:45 ` Antonio Borneo
2015-06-23 14:49 ` [PATCH 1/6] ASoC: wm0010: " Antonio Borneo
2015-06-23 14:52 ` Antonio Borneo
2015-06-24  8:24   ` Charles Keepax
2015-07-03 14:10   ` Applied "ASoC: wm0010: Remove redundant spi driver bus initialization" to the asoc tree Mark Brown
2015-06-23 14:52 ` [PATCH 2/6] iio: ssp_sensors: Remove redundant spi driver bus initialization Antonio Borneo
2015-06-29 10:05   ` Karol Wrona
2015-07-05 13:07     ` Jonathan Cameron
2015-06-23 14:52 ` [PATCH 3/6] staging: mt29f_spinand: " Antonio Borneo
2015-06-23 14:52 ` [PATCH 4/6] net: ieee802154: " Antonio Borneo
2015-06-23 15:06   ` Varka Bhadram
2015-06-23 15:08   ` Alan Ott
2015-07-13 17:29   ` Alexander Aring
2015-07-14  5:07   ` Marcel Holtmann
2015-06-23 14:53 ` Antonio Borneo [this message]
2015-07-21 13:44   ` [5/6] wireless: cw1200: " Kalle Valo
2015-06-23 14:53 ` [PATCH 6/6] [media] s5c73m3: " Antonio Borneo
2015-06-24  5:53   ` Andrzej Hajda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435071185-24586-1-git-send-email-borneo.antonio@gmail.com \
    --to=borneo.antonio@gmail.com \
    --cc=kvalo@codeaurora.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pizza@shaftnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.