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
@@ -157,7 +157,6 @@ MODULE_DEVICE_TABLE(spi, ad7314_id);
|
||||
static struct spi_driver ad7314_driver = {
|
||||
.driver = {
|
||||
.name = "ad7314",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ad7314_probe,
|
||||
.remove = ad7314_remove,
|
||||
|
@@ -234,7 +234,6 @@ MODULE_DEVICE_TABLE(spi, adcxx_ids);
|
||||
static struct spi_driver adcxx_driver = {
|
||||
.driver = {
|
||||
.name = "adcxx",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.id_table = adcxx_ids,
|
||||
.probe = adcxx_probe,
|
||||
|
@@ -237,7 +237,6 @@ static int ads7871_remove(struct spi_device *spi)
|
||||
static struct spi_driver ads7871_driver = {
|
||||
.driver = {
|
||||
.name = DEVICE_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = ads7871_probe,
|
||||
|
@@ -104,7 +104,6 @@ MODULE_DEVICE_TABLE(spi, adt7310_id);
|
||||
static struct spi_driver adt7310_driver = {
|
||||
.driver = {
|
||||
.name = "adt7310",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = ADT7X10_DEV_PM_OPS,
|
||||
},
|
||||
.probe = adt7310_spi_probe,
|
||||
|
@@ -199,7 +199,6 @@ MODULE_DEVICE_TABLE(spi, lm70_ids);
|
||||
static struct spi_driver lm70_driver = {
|
||||
.driver = {
|
||||
.name = "lm70",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(lm70_of_ids),
|
||||
},
|
||||
.id_table = lm70_ids,
|
||||
|
@@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(spi, max1111_ids);
|
||||
static struct spi_driver max1111_driver = {
|
||||
.driver = {
|
||||
.name = "max1111",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.id_table = max1111_ids,
|
||||
.probe = max1111_probe,
|
||||
|
Reference in New Issue
Block a user