mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -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
|
|
@ -304,7 +304,6 @@ MODULE_DEVICE_TABLE(of, m25p_of_table);
|
|||
static struct spi_driver m25p80_driver = {
|
||||
.driver = {
|
||||
.name = "m25p80",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = m25p_of_table,
|
||||
},
|
||||
.id_table = m25p_ids,
|
||||
|
|
|
|||
|
|
@ -911,7 +911,6 @@ static int dataflash_remove(struct spi_device *spi)
|
|||
static struct spi_driver dataflash_driver = {
|
||||
.driver = {
|
||||
.name = "mtd_dataflash",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(dataflash_dt_ids),
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -417,7 +417,6 @@ static int sst25l_remove(struct spi_device *spi)
|
|||
static struct spi_driver sst25l_driver = {
|
||||
.driver = {
|
||||
.name = "sst25l",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sst25l_probe,
|
||||
.remove = sst25l_remove,
|
||||
|
|
|
|||
Loading…
Reference in a new issue