From: Dimitris Papastamos Date: Wed, 29 Sep 2010 10:48:19 +0000 (+0100) Subject: ASoC: Remove unneeded use of spi_bus_type X-Git-Tag: v2.6.37-rc1~126^2~1^2~55 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b90b55ccc7c8ad12dd21ae536ab7747313df927;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c index 02ecf54de0205..8f107095760e2 100644 --- a/sound/soc/codecs/wm8510.c +++ b/sound/soc/codecs/wm8510.c @@ -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, diff --git a/sound/soc/codecs/wm8711.c b/sound/soc/codecs/wm8711.c index 52a923a7861e4..54fbd76c8bca3 100644 --- a/sound/soc/codecs/wm8711.c +++ b/sound/soc/codecs/wm8711.c @@ -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, diff --git a/sound/soc/codecs/wm8728.c b/sound/soc/codecs/wm8728.c index 32eba85b0a2ca..075f35e4f4cbb 100644 --- a/sound/soc/codecs/wm8728.c +++ b/sound/soc/codecs/wm8728.c @@ -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, diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index bdce125bbd819..631385802eb44 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c @@ -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, diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c index 4d1ec9dc86ffb..6c924cd2cfd45 100644 --- a/sound/soc/codecs/wm8750.c +++ b/sound/soc/codecs/wm8750.c @@ -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, diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index 64ea066100387..8f679a13f2bca 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c @@ -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, diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c index c0b69179855a5..04182c464e35f 100644 --- a/sound/soc/codecs/wm8776.c +++ b/sound/soc/codecs/wm8776.c @@ -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, diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index 25c8ccdb6e8dc..b4f11724a63ff 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c @@ -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, diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c index 6116b4203a231..ae9020a2a195c 100644 --- a/sound/soc/codecs/wm8985.c +++ b/sound/soc/codecs/wm8985.c @@ -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, diff --git a/sound/soc/codecs/wm8988.c b/sound/soc/codecs/wm8988.c index d08b1fe6c42c0..d7f2597119703 100644 --- a/sound/soc/codecs/wm8988.c +++ b/sound/soc/codecs/wm8988.c @@ -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,