ASoC: Remove unneeded use of spi_bus_type
Subsystems (3)
PATCH 1/1 ASoC: Remove unneeded use of spi_bus_type
No need to explicitly set the bus type, spi_register_driver does that for us.
Signed-off-by Dimitris Papastamos <[email protected]>
--- sound/soc/codecs/wm8510.c | 1 - sound/soc/codecs/wm8711.c | 1 - sound/soc/codecs/wm8728.c | 1 - sound/soc/codecs/wm8731.c | 1 - sound/soc/codecs/wm8750.c | 1 - sound/soc/codecs/wm8753.c | 1 - sound/soc/codecs/wm8776.c | 1 - sound/soc/codecs/wm8900.c | 1 - sound/soc/codecs/wm8985.c | 1 - sound/soc/codecs/wm8988.c | 1 - 10 files changed, 0 insertions(+), 10 deletions(-)
sound/soc/codecs/wm8510.c +0 -1
@@ -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,
sound/soc/codecs/wm8711.c +0 -1
@@ -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,
sound/soc/codecs/wm8728.c +0 -1
@@ -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,
sound/soc/codecs/wm8731.c +0 -1
@@ -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,
sound/soc/codecs/wm8750.c +0 -1
@@ -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,
sound/soc/codecs/wm8753.c +0 -1
@@ -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,
sound/soc/codecs/wm8776.c +0 -1
@@ -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,
sound/soc/codecs/wm8900.c +0 -1
@@ -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,
sound/soc/codecs/wm8985.c +0 -1
@@ -1145,7 +1145,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,
sound/soc/codecs/wm8988.c +0 -1
@@ -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,
Signature · 1 line
1.7.3
Quoted 4 lines · Dimitris Papastamos
No need to explicitly set the bus type,
spi_register_driverdoes that for us.Signed-off-by Dimitris Papastamos <[email protected]>
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Mark Brown
AppliedQuoted 4 lines · Dimitris Papastamos
No need to explicitly set the bus type,
spi_register_driverdoes that for us.Signed-off-by Dimitris Papastamos <[email protected]>
Applied, thanks.