Skip to content

Commit

Permalink
ASoC: Remove unneeded use of spi_bus_type
Browse files Browse the repository at this point in the history
No need to explicitly set the bus type, spi_register_driver does
that for us.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Sep 30, 2010
1 parent a4f28c0 commit 6b90b55
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8510.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,6 @@ static int __devexit wm8510_spi_remove(struct spi_device *spi)
static struct spi_driver wm8510_spi_driver = {
.driver = {
.name = "wm8510",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8510_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8711.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ static int __devexit wm8711_spi_remove(struct spi_device *spi)
static struct spi_driver wm8711_spi_driver = {
.driver = {
.name = "wm8711-codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8711_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8728.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ static int __devexit wm8728_spi_remove(struct spi_device *spi)
static struct spi_driver wm8728_spi_driver = {
.driver = {
.name = "wm8728-codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8728_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8731.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,6 @@ static int __devexit wm8731_spi_remove(struct spi_device *spi)
static struct spi_driver wm8731_spi_driver = {
.driver = {
.name = "wm8731-codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8731_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8750.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,6 @@ static int __devexit wm8750_spi_remove(struct spi_device *spi)
static struct spi_driver wm8750_spi_driver = {
.driver = {
.name = "wm8750-codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8750_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,6 @@ static int __devexit wm8753_spi_remove(struct spi_device *spi)
static struct spi_driver wm8753_spi_driver = {
.driver = {
.name = "wm8753-codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8753_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8776.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ static int __devexit wm8776_spi_remove(struct spi_device *spi)
static struct spi_driver wm8776_spi_driver = {
.driver = {
.name = "wm8776-codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8776_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8900.c
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,6 @@ static int __devexit wm8900_spi_remove(struct spi_device *spi)
static struct spi_driver wm8900_spi_driver = {
.driver = {
.name = "wm8900-codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8900_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8985.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,6 @@ static int __devexit wm8985_spi_remove(struct spi_device *spi)
static struct spi_driver wm8985_spi_driver = {
.driver = {
.name = "wm8985",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8985_spi_probe,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8988.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,6 @@ static int __devexit wm8988_spi_remove(struct spi_device *spi)
static struct spi_driver wm8988_spi_driver = {
.driver = {
.name = "wm8988-codec",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = wm8988_spi_probe,
Expand Down

0 comments on commit 6b90b55

Please sign in to comment.