aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8988.c
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-09-29 06:48:19 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-30 16:32:07 -0400
commit6b90b55ccc7c8ad12dd21ae536ab7747313df927 (patch)
tree3b0586b5577b67004f00d2964b340d1182764abe /sound/soc/codecs/wm8988.c
parenta4f28c001d9fbe378852771c0734af4f7798d3c0 (diff)
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 <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8988.c')
-rw-r--r--sound/soc/codecs/wm8988.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8988.c b/sound/soc/codecs/wm8988.c
index d08b1fe6c42c..d7f259711970 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)
844static struct spi_driver wm8988_spi_driver = { 844static struct spi_driver wm8988_spi_driver = {
845 .driver = { 845 .driver = {
846 .name = "wm8988-codec", 846 .name = "wm8988-codec",
847 .bus = &spi_bus_type,
848 .owner = THIS_MODULE, 847 .owner = THIS_MODULE,
849 }, 848 },
850 .probe = wm8988_spi_probe, 849 .probe = wm8988_spi_probe,