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>
此提交包含在:
@@ -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,
|
||||
|
新增問題並參考
封鎖使用者