aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2015-06-23 10:52:12 -0400
committerMark Brown <broonie@kernel.org>2015-07-06 15:30:23 -0400
commit93d5fc8bd143d94105279796451dcfd3d657453a (patch)
treeedda5153616126fb135b4c5f25b6a2480bded2ad
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
ASoC: wm0010: Remove redundant spi driver bus initialization
In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_register_driver(), so we can drop the manual assignment. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/wm0010.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index 6560a66b3f35..e1da49f39334 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -1003,7 +1003,6 @@ static int wm0010_spi_remove(struct spi_device *spi)
1003static struct spi_driver wm0010_spi_driver = { 1003static struct spi_driver wm0010_spi_driver = {
1004 .driver = { 1004 .driver = {
1005 .name = "wm0010", 1005 .name = "wm0010",
1006 .bus = &spi_bus_type,
1007 .owner = THIS_MODULE, 1006 .owner = THIS_MODULE,
1008 }, 1007 },
1009 .probe = wm0010_spi_probe, 1008 .probe = wm0010_spi_probe,