Browse Source

char: ipmi: 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>
Krzysztof Kozlowski 9 years ago
parent
commit
aad756f869
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/char/ipmi/ipmi_ssif.c

+ 0 - 1
drivers/char/ipmi/ipmi_ssif.c

@@ -1959,7 +1959,6 @@ MODULE_DEVICE_TABLE(i2c, ssif_id);
 static struct i2c_driver ssif_i2c_driver = {
 static struct i2c_driver ssif_i2c_driver = {
 	.class		= I2C_CLASS_HWMON,
 	.class		= I2C_CLASS_HWMON,
 	.driver		= {
 	.driver		= {
-		.owner			= THIS_MODULE,
 		.name			= DEVICE_NAME
 		.name			= DEVICE_NAME
 	},
 	},
 	.probe		= ssif_probe,
 	.probe		= ssif_probe,