spi: Drop owner assignment from spi_drivers

An spi_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Andrew F. Davis <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Andrew F. Davis 2015-10-23 08:59:11 -05:00 • committed by Mark Brown
commit 3821a065f5
203 changed files with 1 additions and 205 deletions

View file

@ -377,7 +377,6 @@ MODULE_DEVICE_TABLE(of, of_st_nci_spi_match);
static struct spi_driver st_nci_spi_driver = {
.driver = {
.owner = THIS_MODULE,
.name = ST_NCI_SPI_DRIVER_NAME,
.of_match_table = of_match_ptr(of_st_nci_spi_match),
},

View file

@ -2223,7 +2223,6 @@ static struct spi_driver trf7970a_spi_driver = {
.id_table = trf7970a_id_table,
.driver = {
.name = "trf7970a",
.owner = THIS_MODULE,
.pm = &trf7970a_pm_ops,
},
};