aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-19 10:58:19 -0400
committerJean Delvare <khali@linux-fr.org>2009-06-19 10:58:19 -0400
commit1e40ac12dab22d98d0178e87364cf4e36862809c (patch)
tree4a17e391d0b4d33bd9d13c077c789145f436dd76 /include/linux/i2c.h
parentf8a227e8ac19c2d3e189833b8518b1805d9b443c (diff)
i2c: Kill is_newstyle_driver
Legacy i2c drivers are gone, all drivers are new-style now, so there is no point to check. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index db25a870843a..28b27282496f 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -180,7 +180,6 @@ struct i2c_driver {
180 * @irq: indicates the IRQ generated by this device (if any) 180 * @irq: indicates the IRQ generated by this device (if any)
181 * @list: list of active/busy clients (DEPRECATED) 181 * @list: list of active/busy clients (DEPRECATED)
182 * @detected: member of an i2c_driver.clients list 182 * @detected: member of an i2c_driver.clients list
183 * @released: used to synchronize client releases & detaches and references
184 * 183 *
185 * An i2c_client identifies a single device (i.e. chip) connected to an 184 * An i2c_client identifies a single device (i.e. chip) connected to an
186 * i2c bus. The behaviour exposed to Linux is defined by the driver 185 * i2c bus. The behaviour exposed to Linux is defined by the driver
@@ -198,7 +197,6 @@ struct i2c_client {
198 int irq; /* irq issued by device */ 197 int irq; /* irq issued by device */
199 struct list_head list; /* DEPRECATED */ 198 struct list_head list; /* DEPRECATED */
200 struct list_head detected; 199 struct list_head detected;
201 struct completion released;
202}; 200};
203#define to_i2c_client(d) container_of(d, struct i2c_client, dev) 201#define to_i2c_client(d) container_of(d, struct i2c_client, dev)
204 202