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 years ago
parent
commit
f5e9fdaeb3
1 changed files with 0 additions and 1 deletions
  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 = {
 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,