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>
This commit is contained in:

committed by
Mark Brown

父節點
a4f28c001d
當前提交
6b90b55ccc
@@ -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,
|
||||
|
Reference in New Issue
Block a user