All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Remove redundant spi driver bus initialization
@ 2015-06-23 14:45 ` Antonio Borneo
  0 siblings, 0 replies; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:45 UTC (permalink / raw)
  To: Alan Ott, Alexander Aring, alsa-devel, Andrzej Hajda, devel,
	Greg Kroah-Hartman, Jaroslav Kysela, Jonathan Cameron,
	Kalle Valo, Karol Wrona, Kyungmin Park, Lars-Peter Clausen,
	Liam Girdwood, linux-iio, linux-media, linux-wireless,
	linux-wpan, Mark Brown, Mauro Carvalho Chehab, netdev, patches,
	Solomon Peachy, Takashi Iwai, Varka Bhadram
  Cc: Antonio Borneo, linux-kernel

This cleanup was already completed between end 2011 and early 2012
with a patch series from Lars-Peter Clausen:
https://lkml.org/lkml/2011/11/24/190

Later on new redundant initialization re-appeared here and there.
Time to cleanup again.

And, yes, I'm lazy! I copy-paste the exact same commit message from
Lars-Peter; only minor reformat to stay in 75 char/line and fix the
name of spi_register_driver().

Regards,
Antonio

Antonio Borneo (6):
  ASoC: wm0010: Remove redundant spi driver bus initialization
  iio: ssp_sensors: Remove redundant spi driver bus initialization
  staging: mt29f_spinand: Remove redundant spi driver bus initialization
  net: ieee802154: Remove redundant spi driver bus initialization
  wireless: cw1200: Remove redundant spi driver bus initialization
  [media] s5c73m3: Remove redundant spi driver bus initialization

 drivers/iio/common/ssp_sensors/ssp_dev.c      | 1 -
 drivers/media/i2c/s5c73m3/s5c73m3-spi.c       | 1 -
 drivers/net/ieee802154/cc2520.c               | 1 -
 drivers/net/ieee802154/mrf24j40.c             | 1 -
 drivers/net/wireless/cw1200/cw1200_spi.c      | 1 -
 drivers/staging/mt29f_spinand/mt29f_spinand.c | 1 -
 sound/soc/codecs/wm0010.c                     | 1 -
 7 files changed, 7 deletions(-)

-- 
2.4.4


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

* [PATCH 0/6] Remove redundant spi driver bus initialization
@ 2015-06-23 14:45 ` Antonio Borneo
  0 siblings, 0 replies; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:45 UTC (permalink / raw)
  To: Alan Ott, Alexander Aring, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw,
	Andrzej Hajda, devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b,
	Greg Kroah-Hartman, Jaroslav Kysela, Jonathan Cameron,
	Kalle Valo, Karol Wrona, Kyungmin Park, Lars-Peter Clausen,
	Liam Girdwood, linux-iio-u79uwXL29TY76Z2rM5mHXA,
	linux-media-u79uwXL29TY76Z2rM5mHXA,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linux-wpan-u79uwXL29TY76Z2rM5mHXA, Mark Brown,
	Mauro Carvalho Chehab, netdev-u79uwXL29TY76Z2rM5mHXA,
	patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E,
	Solomon Peachy, Takashi Iwai, Varka Bhadram
  Cc: Antonio Borneo, linux-kernel-u79uwXL29TY76Z2rM5mHXA

This cleanup was already completed between end 2011 and early 2012
with a patch series from Lars-Peter Clausen:
https://lkml.org/lkml/2011/11/24/190

Later on new redundant initialization re-appeared here and there.
Time to cleanup again.

And, yes, I'm lazy! I copy-paste the exact same commit message from
Lars-Peter; only minor reformat to stay in 75 char/line and fix the
name of spi_register_driver().

Regards,
Antonio

Antonio Borneo (6):
  ASoC: wm0010: Remove redundant spi driver bus initialization
  iio: ssp_sensors: Remove redundant spi driver bus initialization
  staging: mt29f_spinand: Remove redundant spi driver bus initialization
  net: ieee802154: Remove redundant spi driver bus initialization
  wireless: cw1200: Remove redundant spi driver bus initialization
  [media] s5c73m3: Remove redundant spi driver bus initialization

 drivers/iio/common/ssp_sensors/ssp_dev.c      | 1 -
 drivers/media/i2c/s5c73m3/s5c73m3-spi.c       | 1 -
 drivers/net/ieee802154/cc2520.c               | 1 -
 drivers/net/ieee802154/mrf24j40.c             | 1 -
 drivers/net/wireless/cw1200/cw1200_spi.c      | 1 -
 drivers/staging/mt29f_spinand/mt29f_spinand.c | 1 -
 sound/soc/codecs/wm0010.c                     | 1 -
 7 files changed, 7 deletions(-)

-- 
2.4.4

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

* [PATCH 1/6] ASoC: wm0010: Remove redundant spi driver bus initialization
  2015-06-23 14:45 ` Antonio Borneo
  (?)
@ 2015-06-23 14:49 ` Antonio Borneo
  -1 siblings, 0 replies; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:49 UTC (permalink / raw)
  Cc: Antonio Borneo, linux-kernel

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


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

* [PATCH 1/6] ASoC: wm0010: Remove redundant spi driver bus initialization
  2015-06-23 14:45 ` 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
  -1 siblings, 2 replies; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:52 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai, Liam Girdwood, Mark Brown,
	alsa-devel, patches
  Cc: Antonio Borneo

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

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

* [PATCH 2/6] iio: ssp_sensors: Remove redundant spi driver bus initialization
  2015-06-23 14:45 ` Antonio Borneo
                   ` (2 preceding siblings ...)
  (?)
@ 2015-06-23 14:52 ` Antonio Borneo
  2015-06-29 10:05   ` Karol Wrona
  -1 siblings, 1 reply; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:52 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Karol Wrona, linux-iio
  Cc: Antonio Borneo, linux-kernel

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: Jonathan Cameron <jic23@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>
To: Karol Wrona <k.wrona@samsung.com>
To: linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
 drivers/iio/common/ssp_sensors/ssp_dev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/common/ssp_sensors/ssp_dev.c b/drivers/iio/common/ssp_sensors/ssp_dev.c
index 9a40097..d338bb5 100644
--- a/drivers/iio/common/ssp_sensors/ssp_dev.c
+++ b/drivers/iio/common/ssp_sensors/ssp_dev.c
@@ -700,7 +700,6 @@ static struct spi_driver ssp_driver = {
 	.remove = ssp_remove,
 	.driver = {
 		.pm = &ssp_pm_ops,
-		.bus = &spi_bus_type,
 		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(ssp_of_match),
 		.name = "sensorhub"
-- 
2.4.4


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

* [PATCH 3/6] staging: mt29f_spinand: Remove redundant spi driver bus initialization
  2015-06-23 14:45 ` Antonio Borneo
                   ` (3 preceding siblings ...)
  (?)
@ 2015-06-23 14:52 ` Antonio Borneo
  -1 siblings, 0 replies; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman, devel; +Cc: Antonio Borneo, linux-kernel

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: devel@driverdev.osuosl.org
Cc: linux-kernel@vger.kernel.org
---
 drivers/staging/mt29f_spinand/mt29f_spinand.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.c b/drivers/staging/mt29f_spinand/mt29f_spinand.c
index 7285c64..ad30ce4 100644
--- a/drivers/staging/mt29f_spinand/mt29f_spinand.c
+++ b/drivers/staging/mt29f_spinand/mt29f_spinand.c
@@ -948,7 +948,6 @@ static const struct of_device_id spinand_dt[] = {
 static struct spi_driver spinand_driver = {
 	.driver = {
 		.name		= "mt29f",
-		.bus		= &spi_bus_type,
 		.owner		= THIS_MODULE,
 		.of_match_table	= spinand_dt,
 	},
-- 
2.4.4


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

* [PATCH 4/6] net: ieee802154: Remove redundant spi driver bus initialization
  2015-06-23 14:45 ` Antonio Borneo
                   ` (4 preceding siblings ...)
  (?)
@ 2015-06-23 14:52 ` Antonio Borneo
  2015-06-23 15:06   ` Varka Bhadram
                     ` (3 more replies)
  -1 siblings, 4 replies; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:52 UTC (permalink / raw)
  To: Alan Ott, Alexander Aring, Varka Bhadram, linux-wpan, netdev
  Cc: Antonio Borneo, linux-kernel

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: Alan Ott <alan@signal11.us>
To: Alexander Aring <alex.aring@gmail.com>
To: Varka Bhadram <varkabhadram@gmail.com>
To: linux-wpan@vger.kernel.org
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
 drivers/net/ieee802154/cc2520.c   | 1 -
 drivers/net/ieee802154/mrf24j40.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c
index f833b8b..bd957f1 100644
--- a/drivers/net/ieee802154/cc2520.c
+++ b/drivers/net/ieee802154/cc2520.c
@@ -1046,7 +1046,6 @@ MODULE_DEVICE_TABLE(of, cc2520_of_ids);
 static struct spi_driver cc2520_driver = {
 	.driver = {
 		.name = "cc2520",
-		.bus = &spi_bus_type,
 		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(cc2520_of_ids),
 	},
diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c
index fba2dfd..bc8fb26 100644
--- a/drivers/net/ieee802154/mrf24j40.c
+++ b/drivers/net/ieee802154/mrf24j40.c
@@ -812,7 +812,6 @@ MODULE_DEVICE_TABLE(spi, mrf24j40_ids);
 static struct spi_driver mrf24j40_driver = {
 	.driver = {
 		.name = "mrf24j40",
-		.bus = &spi_bus_type,
 		.owner = THIS_MODULE,
 	},
 	.id_table = mrf24j40_ids,
-- 
2.4.4


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

* [PATCH 5/6] wireless: cw1200: Remove redundant spi driver bus initialization
  2015-06-23 14:45 ` Antonio Borneo
                   ` (5 preceding siblings ...)
  (?)
@ 2015-06-23 14:53 ` Antonio Borneo
  2015-07-21 13:44   ` [5/6] " Kalle Valo
  -1 siblings, 1 reply; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:53 UTC (permalink / raw)
  To: Solomon Peachy, Kalle Valo, linux-wireless, netdev
  Cc: Antonio Borneo, linux-kernel

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


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

* [PATCH 6/6] [media] s5c73m3: Remove redundant spi driver bus initialization
  2015-06-23 14:45 ` Antonio Borneo
                   ` (6 preceding siblings ...)
  (?)
@ 2015-06-23 14:53 ` Antonio Borneo
  2015-06-24  5:53   ` Andrzej Hajda
  -1 siblings, 1 reply; 19+ messages in thread
From: Antonio Borneo @ 2015-06-23 14:53 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Kyungmin Park, Andrzej Hajda, linux-media
  Cc: Antonio Borneo, linux-kernel

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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: Kyungmin Park <kyungmin.park@samsung.com>
To: Andrzej Hajda <a.hajda@samsung.com>
To: linux-media@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
 drivers/media/i2c/s5c73m3/s5c73m3-spi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
index 63eb190..fa4a5eb 100644
--- a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
+++ b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
@@ -149,7 +149,6 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state)
 	spidrv->remove = s5c73m3_spi_remove;
 	spidrv->probe = s5c73m3_spi_probe;
 	spidrv->driver.name = S5C73M3_SPI_DRV_NAME;
-	spidrv->driver.bus = &spi_bus_type;
 	spidrv->driver.owner = THIS_MODULE;
 	spidrv->driver.of_match_table = s5c73m3_spi_ids;
 
-- 
2.4.4


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

* Re: [PATCH 4/6] net: ieee802154: Remove redundant spi driver bus initialization
  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
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 19+ messages in thread
From: Varka Bhadram @ 2015-06-23 15:06 UTC (permalink / raw)
  To: Antonio Borneo, Alan Ott, Alexander Aring, linux-wpan, netdev
  Cc: linux-kernel

Hi Antonio Borneo,

On Tuesday 23 June 2015 08:22 PM, Antonio Borneo wrote:

> 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: Alan Ott <alan@signal11.us>
> To: Alexander Aring <alex.aring@gmail.com>
> To: Varka Bhadram <varkabhadram@gmail.com>
> To: linux-wpan@vger.kernel.org
> To: netdev@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
>   drivers/net/ieee802154/cc2520.c   | 1 -
>   drivers/net/ieee802154/mrf24j40.c | 1 -
>   2 files changed, 2 deletions(-)
>
> diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c
> index f833b8b..bd957f1 100644
> --- a/drivers/net/ieee802154/cc2520.c
> +++ b/drivers/net/ieee802154/cc2520.c
> @@ -1046,7 +1046,6 @@ MODULE_DEVICE_TABLE(of, cc2520_of_ids);
>   static struct spi_driver cc2520_driver = {
>   	.driver = {
>   		.name = "cc2520",
> -		.bus = &spi_bus_type,
>   		.owner = THIS_MODULE,
>   		.of_match_table = of_match_ptr(cc2520_of_ids),
>   	},

Acked-by: Varka Bhadram <varkabhadram@gmail.com>

> diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c
> index fba2dfd..bc8fb26 100644
> --- a/drivers/net/ieee802154/mrf24j40.c
> +++ b/drivers/net/ieee802154/mrf24j40.c
> @@ -812,7 +812,6 @@ MODULE_DEVICE_TABLE(spi, mrf24j40_ids);
>   static struct spi_driver mrf24j40_driver = {
>   	.driver = {
>   		.name = "mrf24j40",
> -		.bus = &spi_bus_type,
>   		.owner = THIS_MODULE,
>   	},
>   	.id_table = mrf24j40_ids,

-- 
Best regards,
Varka Bhadram.


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

* Re: [PATCH 4/6] net: ieee802154: Remove redundant spi driver bus initialization
  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
  3 siblings, 0 replies; 19+ messages in thread
From: Alan Ott @ 2015-06-23 15:08 UTC (permalink / raw)
  To: Antonio Borneo, Alexander Aring, Varka Bhadram, linux-wpan, netdev
  Cc: linux-kernel

On 06/23/2015 10:52 AM, Antonio Borneo wrote:
> 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: Alan Ott <alan@signal11.us>
> To: Alexander Aring <alex.aring@gmail.com>
> To: Varka Bhadram <varkabhadram@gmail.com>
> To: linux-wpan@vger.kernel.org
> To: netdev@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
>   drivers/net/ieee802154/cc2520.c   | 1 -
>   drivers/net/ieee802154/mrf24j40.c | 1 -
>   2 files changed, 2 deletions(-)
>
> diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c
> index f833b8b..bd957f1 100644
> --- a/drivers/net/ieee802154/cc2520.c
> +++ b/drivers/net/ieee802154/cc2520.c
> @@ -1046,7 +1046,6 @@ MODULE_DEVICE_TABLE(of, cc2520_of_ids);
>   static struct spi_driver cc2520_driver = {
>   	.driver = {
>   		.name = "cc2520",
> -		.bus = &spi_bus_type,
>   		.owner = THIS_MODULE,
>   		.of_match_table = of_match_ptr(cc2520_of_ids),
>   	},
> diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c
> index fba2dfd..bc8fb26 100644
> --- a/drivers/net/ieee802154/mrf24j40.c
> +++ b/drivers/net/ieee802154/mrf24j40.c
> @@ -812,7 +812,6 @@ MODULE_DEVICE_TABLE(spi, mrf24j40_ids);
>   static struct spi_driver mrf24j40_driver = {
>   	.driver = {
>   		.name = "mrf24j40",
> -		.bus = &spi_bus_type,
>   		.owner = THIS_MODULE,
>   	},
>   	.id_table = mrf24j40_ids,

Acked-by: Alan Ott <alan@signal11.us>


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

* Re: [PATCH 6/6] [media] s5c73m3: Remove redundant spi driver bus initialization
  2015-06-23 14:53 ` [PATCH 6/6] [media] s5c73m3: " Antonio Borneo
@ 2015-06-24  5:53   ` Andrzej Hajda
  0 siblings, 0 replies; 19+ messages in thread
From: Andrzej Hajda @ 2015-06-24  5:53 UTC (permalink / raw)
  To: Antonio Borneo, Mauro Carvalho Chehab, Kyungmin Park, linux-media
  Cc: linux-kernel

On 06/23/2015 04:53 PM, Antonio Borneo wrote:
> 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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
> To: Kyungmin Park <kyungmin.park@samsung.com>
> To: Andrzej Hajda <a.hajda@samsung.com>
> To: linux-media@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>

Regards
Andrzej
> ---
>  drivers/media/i2c/s5c73m3/s5c73m3-spi.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
> index 63eb190..fa4a5eb 100644
> --- a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
> +++ b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
> @@ -149,7 +149,6 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state)
>  	spidrv->remove = s5c73m3_spi_remove;
>  	spidrv->probe = s5c73m3_spi_probe;
>  	spidrv->driver.name = S5C73M3_SPI_DRV_NAME;
> -	spidrv->driver.bus = &spi_bus_type;
>  	spidrv->driver.owner = THIS_MODULE;
>  	spidrv->driver.of_match_table = s5c73m3_spi_ids;
>  


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

* Re: [PATCH 1/6] ASoC: wm0010: Remove redundant spi driver bus initialization
  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
  1 sibling, 0 replies; 19+ messages in thread
From: Charles Keepax @ 2015-06-24  8:24 UTC (permalink / raw)
  To: Antonio Borneo
  Cc: alsa-devel, Takashi Iwai, patches, Liam Girdwood, Mark Brown

On Tue, Jun 23, 2015 at 10:52:12PM +0800, Antonio Borneo wrote:
> 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
> ---

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

Thanks,
Charles

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

* Re: [PATCH 2/6] iio: ssp_sensors: Remove redundant spi driver bus initialization
  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
  0 siblings, 1 reply; 19+ messages in thread
From: Karol Wrona @ 2015-06-29 10:05 UTC (permalink / raw)
  To: Antonio Borneo, Jonathan Cameron, Lars-Peter Clausen, linux-iio
  Cc: linux-kernel

On 06/23/2015 04:52 PM, Antonio Borneo wrote:
> 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: Jonathan Cameron <jic23@kernel.org>
> To: Lars-Peter Clausen <lars@metafoo.de>
> To: Karol Wrona <k.wrona@samsung.com>
> To: linux-iio@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
>  drivers/iio/common/ssp_sensors/ssp_dev.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/common/ssp_sensors/ssp_dev.c b/drivers/iio/common/ssp_sensors/ssp_dev.c
> index 9a40097..d338bb5 100644
> --- a/drivers/iio/common/ssp_sensors/ssp_dev.c
> +++ b/drivers/iio/common/ssp_sensors/ssp_dev.c
> @@ -700,7 +700,6 @@ static struct spi_driver ssp_driver = {
>  	.remove = ssp_remove,
>  	.driver = {
>  		.pm = &ssp_pm_ops,
> -		.bus = &spi_bus_type,
>  		.owner = THIS_MODULE,
>  		.of_match_table = of_match_ptr(ssp_of_match),
>  		.name = "sensorhub"
> 
Acked-by: Karol Wrona <k.wrona@samsung.com>

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

* Applied "ASoC: wm0010: Remove redundant spi driver bus initialization" to the asoc tree
  2015-06-23 14:52 ` Antonio Borneo
  2015-06-24  8:24   ` Charles Keepax
@ 2015-07-03 14:10   ` Mark Brown
  1 sibling, 0 replies; 19+ messages in thread
From: Mark Brown @ 2015-07-03 14:10 UTC (permalink / raw)
  To: Antonio Borneo, Charles Keepax, Mark Brown; +Cc: alsa-devel

The patch

   ASoC: wm0010: Remove redundant spi driver bus initialization

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 7a28db9906a993ec43226fb6927f35b8af6cc83c Mon Sep 17 00:00:00 2001
From: Antonio Borneo <borneo.antonio@gmail.com>
Date: Tue, 23 Jun 2015 22:52:12 +0800
Subject: [PATCH] ASoC: wm0010: 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@gmail.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@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.1.4

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

* Re: [PATCH 2/6] iio: ssp_sensors: Remove redundant spi driver bus initialization
  2015-06-29 10:05   ` Karol Wrona
@ 2015-07-05 13:07     ` Jonathan Cameron
  0 siblings, 0 replies; 19+ messages in thread
From: Jonathan Cameron @ 2015-07-05 13:07 UTC (permalink / raw)
  To: Karol Wrona, Antonio Borneo, Lars-Peter Clausen, linux-iio; +Cc: linux-kernel

On 29/06/15 11:05, Karol Wrona wrote:
> On 06/23/2015 04:52 PM, Antonio Borneo wrote:
>> 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: Jonathan Cameron <jic23@kernel.org>
>> To: Lars-Peter Clausen <lars@metafoo.de>
>> To: Karol Wrona <k.wrona@samsung.com>
>> To: linux-iio@vger.kernel.org
>> Cc: linux-kernel@vger.kernel.org
>> ---
>>  drivers/iio/common/ssp_sensors/ssp_dev.c | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/iio/common/ssp_sensors/ssp_dev.c b/drivers/iio/common/ssp_sensors/ssp_dev.c
>> index 9a40097..d338bb5 100644
>> --- a/drivers/iio/common/ssp_sensors/ssp_dev.c
>> +++ b/drivers/iio/common/ssp_sensors/ssp_dev.c
>> @@ -700,7 +700,6 @@ static struct spi_driver ssp_driver = {
>>  	.remove = ssp_remove,
>>  	.driver = {
>>  		.pm = &ssp_pm_ops,
>> -		.bus = &spi_bus_type,
>>  		.owner = THIS_MODULE,
>>  		.of_match_table = of_match_ptr(ssp_of_match),
>>  		.name = "sensorhub"
>>
> Acked-by: Karol Wrona <k.wrona@samsung.com>
Applied to the togreg branch of iio.git

Thanks,

J
> 


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

* Re: [PATCH 4/6] net: ieee802154: Remove redundant spi driver bus initialization
  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
  3 siblings, 0 replies; 19+ messages in thread
From: Alexander Aring @ 2015-07-13 17:29 UTC (permalink / raw)
  To: Antonio Borneo
  Cc: Alan Ott, Varka Bhadram, linux-wpan, netdev, linux-kernel, marcel

On Tue, Jun 23, 2015 at 10:52:52PM +0800, Antonio Borneo wrote:
> 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.
> 

Marcel,

I don't see this patch in any linux-next, net-next, bluetooth-next tree.
Could you please apply this patch with the acks by Alan and Varka?

- Alex

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

* Re: [PATCH 4/6] net: ieee802154: Remove redundant spi driver bus initialization
  2015-06-23 14:52 ` [PATCH 4/6] net: ieee802154: " Antonio Borneo
                     ` (2 preceding siblings ...)
  2015-07-13 17:29   ` Alexander Aring
@ 2015-07-14  5:07   ` Marcel Holtmann
  3 siblings, 0 replies; 19+ messages in thread
From: Marcel Holtmann @ 2015-07-14  5:07 UTC (permalink / raw)
  To: Antonio Borneo
  Cc: Alan Ott, Alexander Aring, Varka Bhadram, linux-wpan, netdev,
	linux-kernel

Hi Antonio,

> 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: Alan Ott <alan@signal11.us>
> To: Alexander Aring <alex.aring@gmail.com>
> To: Varka Bhadram <varkabhadram@gmail.com>
> To: linux-wpan@vger.kernel.org
> To: netdev@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/net/ieee802154/cc2520.c   | 1 -
> drivers/net/ieee802154/mrf24j40.c | 1 -
> 2 files changed, 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel


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

* Re: [5/6] wireless: cw1200: Remove redundant spi driver bus initialization
  2015-06-23 14:53 ` [PATCH 5/6] wireless: cw1200: " Antonio Borneo
@ 2015-07-21 13:44   ` Kalle Valo
  0 siblings, 0 replies; 19+ messages in thread
From: Kalle Valo @ 2015-07-21 13:44 UTC (permalink / raw)
  To: Antonio Borneo
  Cc: Solomon Peachy, linux-wireless, netdev, Antonio Borneo, linux-kernel


> 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

Thanks, applied to wireless-drivers-next.git.

Kalle Valo

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

end of thread, other threads:[~2015-07-21 13:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [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

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.