aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-19 16:58:19 +0200
committerJean Delvare <khali@linux-fr.org>2009-06-19 16:58:19 +0200
commit1e40ac12dab22d98d0178e87364cf4e36862809c (patch)
tree4a17e391d0b4d33bd9d13c077c789145f436dd76 /include/linux/i2c.h
parenti2c: Merge i2c_attach_client into i2c_new_device (diff)
downloadlinux-dev-1e40ac12dab22d98d0178e87364cf4e36862809c.tar.xz
linux-dev-1e40ac12dab22d98d0178e87364cf4e36862809c.zip
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 {
* @irq: indicates the IRQ generated by this device (if any)
* @list: list of active/busy clients (DEPRECATED)
* @detected: member of an i2c_driver.clients list
- * @released: used to synchronize client releases & detaches and references
*
* An i2c_client identifies a single device (i.e. chip) connected to an
* i2c bus. The behaviour exposed to Linux is defined by the driver
@@ -198,7 +197,6 @@ struct i2c_client {
int irq; /* irq issued by device */
struct list_head list; /* DEPRECATED */
struct list_head detected;
- struct completion released;
};
#define to_i2c_client(d) container_of(d, struct i2c_client, dev)