Explorar el Código

[PATCH] i2c: Cleanup isp1301_omap

Drop unused rogue i2c driver ID and nonsensical i2c class.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jean Delvare hace 19 años
padre
commit
c006705e0f
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      drivers/i2c/chips/isp1301_omap.c

+ 0 - 2
drivers/i2c/chips/isp1301_omap.c

@@ -1635,8 +1635,6 @@ static struct i2c_driver isp1301_driver = {
 	.driver = {
 		.name	= "isp1301_omap",
 	},
-	.id		= 1301,		/* FIXME "official", i2c-ids.h */
-	.class		= I2C_CLASS_HWMON,
 	.attach_adapter	= isp1301_scan_bus,
 	.detach_client	= isp1301_detach_client,
 };