X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fi2c.h;h=eff50e062be850189ed9e78a9b6058a5eea49b74;hb=e4379310108a9bd9f181427b37113273d97b8ad3;hp=2ab11dc38077c89f7c60d767ed1096b909ab6039;hpb=6f799c97f37fc0ee2c9c427fa0dada637394886c;p=~andy%2Flinux diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 2ab11dc3807..eff50e062be 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -205,7 +205,6 @@ struct i2c_driver { * @name: Indicates the type of the device, usually a chip name that's * generic enough to hide second-sourcing and compatible revisions. * @adapter: manages the bus segment hosting this I2C device - * @driver: device's driver, hence pointer to access routines * @dev: Driver model device node for the slave. * @irq: indicates the IRQ generated by this device (if any) * @detected: member of an i2c_driver.clients list or i2c-core's @@ -222,7 +221,6 @@ struct i2c_client { /* _LOWER_ 7 bits */ char name[I2C_NAME_SIZE]; struct i2c_adapter *adapter; /* the adapter we sit on */ - struct i2c_driver *driver; /* and our access routines */ struct device dev; /* the device structure */ int irq; /* irq issued by device */ struct list_head detected;