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 <afd@ti.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
ca5d248542
commit
3821a065f5
@@ -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),
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user