Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3821a065 authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Mark Brown
Browse files

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: default avatarAndrew F. Davis <afd@ti.com>
Acked-by: default avatarJonathan Cameron <jic23@kernel.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ca5d2485
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -264,7 +264,6 @@ static const struct of_device_id pl022_dummy_dt_match[] = {
static struct spi_driver pl022_dummy_driver = {
	.driver = {
		.name	= "spi-dummy",
		.owner	= THIS_MODULE,
		.of_match_table = pl022_dummy_dt_match,
	},
	.probe	= pl022_dummy_probe,
+0 −1
Original line number Diff line number Diff line
@@ -80,7 +80,6 @@ static int __init early_seeprom_probe(struct spi_device *spi)
static struct spi_driver early_seeprom_driver __initdata = {
	.driver = {
		.name	= "at25",
		.owner	= THIS_MODULE,
	},
	.probe	= early_seeprom_probe,
};
+0 −1
Original line number Diff line number Diff line
@@ -381,7 +381,6 @@ static SIMPLE_DEV_PM_OPS(st33zp24_spi_ops, st33zp24_pm_suspend,

static struct spi_driver tpm_st33_spi_driver = {
	.driver = {
		.owner = THIS_MODULE,
		.name = TPM_ST33_SPI,
		.pm = &st33zp24_spi_ops,
		.of_match_table = of_match_ptr(of_st33zp24_spi_match),
+0 −1
Original line number Diff line number Diff line
@@ -183,7 +183,6 @@ MODULE_DEVICE_TABLE(of, gen_74x164_dt_ids);
static struct spi_driver gen_74x164_driver = {
	.driver = {
		.name		= "74x164",
		.owner		= THIS_MODULE,
		.of_match_table	= gen_74x164_dt_ids,
	},
	.probe		= gen_74x164_probe,
+0 −1
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@ MODULE_DEVICE_TABLE(spi, max7301_id);
static struct spi_driver max7301_driver = {
	.driver = {
		.name = "max7301",
		.owner = THIS_MODULE,
	},
	.probe = max7301_probe,
	.remove = max7301_remove,
Loading