mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
spi: xcomm: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d770e558e2
commit
f5e9fdaeb3
@ -241,7 +241,6 @@ static const struct i2c_device_id spi_xcomm_ids[] = {
|
||||
static struct i2c_driver spi_xcomm_driver = {
|
||||
.driver = {
|
||||
.name = "spi-xcomm",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.id_table = spi_xcomm_ids,
|
||||
.probe = spi_xcomm_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user