ASoC: Remove unneeded use of spi_bus_type
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Wed, 29 Sep 2010 10:48:19 +0000 (11:48 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 Sep 2010 20:32:07 +0000 (13:32 -0700)
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>
sound/soc/codecs/wm8510.c
sound/soc/codecs/wm8711.c
sound/soc/codecs/wm8728.c
sound/soc/codecs/wm8731.c
sound/soc/codecs/wm8750.c
sound/soc/codecs/wm8753.c
sound/soc/codecs/wm8776.c
sound/soc/codecs/wm8900.c
sound/soc/codecs/wm8985.c
sound/soc/codecs/wm8988.c

index 02ecf54de0205213f07a8c75be45bbbc437bf90a..8f107095760e2206f875e0be53b88001395787bb 100644 (file)
@@ -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,
index 52a923a7861e41aea9a7b89b46d3e91e20ceefd4..54fbd76c8bca3aeeb8799b7dabd8694f60b221b9 100644 (file)
@@ -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,
index 32eba85b0a2cad6fd965b045eebf14dab4212b1a..075f35e4f4cbbd33bde2b9904e0bc3b894350d39 100644 (file)
@@ -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,
index bdce125bbd81968c27daf20b828b092c66a8ac98..631385802eb44a587f5fe375d8f1c61e89ba9d02 100644 (file)
@@ -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,
index 4d1ec9dc86ffbd06f7722aef0c3d217523ca5677..6c924cd2cfd45a2149f07ca917a4e36faf8149b0 100644 (file)
@@ -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,
index 64ea06610038764d981ec877c52e9c3903726951..8f679a13f2bcaae23653adaffafff6fedcd8e66f 100644 (file)
@@ -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,
index c0b69179855a5e14ce2f6ba1acb8d9856f0d309b..04182c464e35ffeffb069ad06242dca74da52248 100644 (file)
@@ -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,
index 25c8ccdb6e8dc972f410684f24ab98ce1378a989..b4f11724a63ffc771c1a1d83909e31ae5cccaab7 100644 (file)
@@ -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,
index 6116b4203a2313fddfdc737598a4f016a2f852d0..ae9020a2a195c69f34fb0834c5919402ef0ddf52 100644 (file)
@@ -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,
index d08b1fe6c42c0b5d251297dac09a361257df7018..d7f2597119703e983cccbaf4485109dd2f439130 100644 (file)
@@ -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,