提交 f5e9fdae 编写于 作者: K Krzysztof Kozlowski 提交者: Mark Brown

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: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 d770e558
...@@ -241,7 +241,6 @@ static const struct i2c_device_id spi_xcomm_ids[] = { ...@@ -241,7 +241,6 @@ static const struct i2c_device_id spi_xcomm_ids[] = {
static struct i2c_driver spi_xcomm_driver = { static struct i2c_driver spi_xcomm_driver = {
.driver = { .driver = {
.name = "spi-xcomm", .name = "spi-xcomm",
.owner = THIS_MODULE,
}, },
.id_table = spi_xcomm_ids, .id_table = spi_xcomm_ids,
.probe = spi_xcomm_probe, .probe = spi_xcomm_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册