You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07: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 <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
@@ -848,7 +848,6 @@ MODULE_DEVICE_TABLE(i2c, mcp230xx_id);
|
||||
static struct i2c_driver mcp230xx_driver = {
|
||||
.driver = {
|
||||
.name = "mcp230xx",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(mcp23s08_i2c_of_match),
|
||||
},
|
||||
.probe = mcp230xx_probe,
|
||||
@@ -1021,7 +1020,6 @@ static struct spi_driver mcp23s08_driver = {
|
||||
.id_table = mcp23s08_ids,
|
||||
.driver = {
|
||||
.name = "mcp23s08",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(mcp23s08_spi_of_match),
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user