Browse Source

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>
Krzysztof Kozlowski 10 năm trước cách đây
mục cha
commit
f5e9fdaeb3
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/spi/spi-xcomm.c

+ 0 - 1
drivers/spi/spi-xcomm.c

@@ -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,