mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
parent
ca5d248542
commit
3821a065f5
203 changed files with 1 additions and 205 deletions
|
|
@ -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),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue