From: Antonio Borneo <borneo.antonio@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Antonio Borneo <borneo.antonio@gmail.com>, linux-kernel@vger.kernel.org
Subject: [PATCH 1/6] ASoC: wm0010: Remove redundant spi driver bus initialization
Date: Tue, 23 Jun 2015 22:49:38 +0800 [thread overview]
Message-ID: <1435070978-24312-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: Jaroslav Kysela <perex@perex.cz>
To: Takashi Iwai <tiwai@suse.de>
To: Liam Girdwood <lgirdwood@gmail.com>
To: Mark Brown <broonie@kernel.org>
To: alsa-devel@alsa-project.org
To: patches@opensource.wolfsonmicro.com
Cc: linux-kernel@vger.kernel.org
---
sound/soc/codecs/wm0010.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index f37989e..61bfff4 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -1005,7 +1005,6 @@ static int wm0010_spi_remove(struct spi_device *spi)
static struct spi_driver wm0010_spi_driver = {
.driver = {
.name = "wm0010",
- .bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm0010_spi_probe,
--
2.4.4
next prev parent reply other threads:[~2015-06-23 14:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-23 14:45 [PATCH 0/6] " Antonio Borneo
2015-06-23 14:49 ` Antonio Borneo [this message]
2015-06-23 14:52 ` [PATCH 2/6] iio: ssp_sensors: " 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 ` [PATCH 5/6] wireless: cw1200: " Antonio Borneo
2015-07-21 13:44 ` [5/6] " 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=1435070978-24312-1-git-send-email-borneo.antonio@gmail.com \
--to=borneo.antonio@gmail.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®