mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -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
|
|
@ -149,7 +149,6 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state)
|
|||
spidrv->remove = s5c73m3_spi_remove;
|
||||
spidrv->probe = s5c73m3_spi_probe;
|
||||
spidrv->driver.name = S5C73M3_SPI_DRV_NAME;
|
||||
spidrv->driver.owner = THIS_MODULE;
|
||||
spidrv->driver.of_match_table = s5c73m3_spi_ids;
|
||||
|
||||
return spi_register_driver(spidrv);
|
||||
|
|
|
|||
|
|
@ -513,7 +513,6 @@ MODULE_DEVICE_TABLE(spi, msi001_id_table);
|
|||
static struct spi_driver msi001_driver = {
|
||||
.driver = {
|
||||
.name = "msi001",
|
||||
.owner = THIS_MODULE,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
.probe = msi001_probe,
|
||||
|
|
|
|||
Loading…
Reference in a new issue