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
|
|
@ -93,7 +93,6 @@ MODULE_DEVICE_TABLE(spi, arizona_spi_ids);
|
|||
static struct spi_driver arizona_spi_driver = {
|
||||
.driver = {
|
||||
.name = "arizona",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &arizona_pm_ops,
|
||||
.of_match_table = of_match_ptr(arizona_of_match),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -717,7 +717,6 @@ static struct spi_driver cros_ec_driver_spi = {
|
|||
.driver = {
|
||||
.name = "cros-ec-spi",
|
||||
.of_match_table = of_match_ptr(cros_ec_spi_of_match),
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &cros_ec_spi_pm_ops,
|
||||
},
|
||||
.probe = cros_ec_spi_probe,
|
||||
|
|
|
|||
|
|
@ -86,7 +86,6 @@ static struct spi_driver da9052_spi_driver = {
|
|||
.id_table = da9052_spi_id,
|
||||
.driver = {
|
||||
.name = "da9052",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -513,7 +513,6 @@ static struct spi_driver ezxpcap_driver = {
|
|||
.remove = ezx_pcap_remove,
|
||||
.driver = {
|
||||
.name = "ezx-pcap",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -177,7 +177,6 @@ static struct spi_driver mc13xxx_spi_driver = {
|
|||
.id_table = mc13xxx_device_id,
|
||||
.driver = {
|
||||
.name = "mc13xxx",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = mc13xxx_dt_ids,
|
||||
},
|
||||
.probe = mc13xxx_spi_probe,
|
||||
|
|
|
|||
|
|
@ -135,7 +135,6 @@ static struct spi_driver stmpe_spi_driver = {
|
|||
.driver = {
|
||||
.name = "stmpe-spi",
|
||||
.of_match_table = of_match_ptr(stmpe_spi_of_match),
|
||||
.owner = THIS_MODULE,
|
||||
#ifdef CONFIG_PM
|
||||
.pm = &stmpe_dev_pm_ops,
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -111,7 +111,6 @@ static int tps65912_spi_remove(struct spi_device *spi)
|
|||
static struct spi_driver tps65912_spi_driver = {
|
||||
.driver = {
|
||||
.name = "tps65912",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tps65912_spi_probe,
|
||||
.remove = tps65912_spi_remove,
|
||||
|
|
|
|||
|
|
@ -96,7 +96,6 @@ MODULE_DEVICE_TABLE(spi, wm831x_spi_ids);
|
|||
static struct spi_driver wm831x_spi_driver = {
|
||||
.driver = {
|
||||
.name = "wm831x",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &wm831x_spi_pm,
|
||||
},
|
||||
.id_table = wm831x_spi_ids,
|
||||
|
|
|
|||
Loading…
Reference in a new issue