All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: wm0010: Remove .bus field setting from wm0010_spi_driver
@ 2015-07-02  4:02 Axel Lin
  2015-07-02 11:29 ` Charles Keepax
  2015-07-03 12:47 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2015-07-02  4:02 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, Liam Girdwood

The .bus field will be set by spi_register_driver() so we don't need to
set it in wm0010_spi_driver.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 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 6560a66..e1da49f 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -1003,7 +1003,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.1.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: wm0010: Remove .bus field setting from wm0010_spi_driver
  2015-07-02  4:02 [PATCH] ASoC: wm0010: Remove .bus field setting from wm0010_spi_driver Axel Lin
@ 2015-07-02 11:29 ` Charles Keepax
  2015-07-03 12:47 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Charles Keepax @ 2015-07-02 11:29 UTC (permalink / raw)
  To: Axel Lin; +Cc: alsa-devel, Mark Brown, Liam Girdwood

On Thu, Jul 02, 2015 at 12:02:58PM +0800, Axel Lin wrote:
> The .bus field will be set by spi_register_driver() so we don't need to
> set it in wm0010_spi_driver.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: wm0010: Remove .bus field setting from wm0010_spi_driver
  2015-07-02  4:02 [PATCH] ASoC: wm0010: Remove .bus field setting from wm0010_spi_driver Axel Lin
  2015-07-02 11:29 ` Charles Keepax
@ 2015-07-03 12:47 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2015-07-03 12:47 UTC (permalink / raw)
  To: Axel Lin; +Cc: alsa-devel, Liam Girdwood


[-- Attachment #1.1: Type: text/plain, Size: 204 bytes --]

On Thu, Jul 02, 2015 at 12:02:58PM +0800, Axel Lin wrote:
> The .bus field will be set by spi_register_driver() so we don't need to
> set it in wm0010_spi_driver.

A similar change has already been sent.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-03 12:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02  4:02 [PATCH] ASoC: wm0010: Remove .bus field setting from wm0010_spi_driver Axel Lin
2015-07-02 11:29 ` Charles Keepax
2015-07-03 12:47 ` Mark Brown

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.