summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-11-26 21:06:08 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-05 22:16:22 -0800
commit482c788ded0aa9710722eaf9cf60886d3b923218 (patch)
treea66b5810e0db6061da847c1edd73f3e2fa0c5f32 /include/linux
parent92b429461228f0f06a994dd3d4ccf1c9ff7596bd (diff)
downloadop-kernel-dev-482c788ded0aa9710722eaf9cf60886d3b923218.zip
op-kernel-dev-482c788ded0aa9710722eaf9cf60886d3b923218.tar.gz
[PATCH] i2c: i2c_get_client is gone
The i2c_get_client function doesn't exist anymore, so we shouldn't have a definition for it in i2c.h. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/i2c.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 85c517a..a9cea62 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -296,17 +296,8 @@ extern int i2c_del_driver(struct i2c_driver *);
extern int i2c_attach_client(struct i2c_client *);
extern int i2c_detach_client(struct i2c_client *);
-/* New function: This is to get an i2c_client-struct for controlling the
- client either by using i2c_control-function or having the
- client-module export functions that can be used with the i2c_client
- -struct. */
-extern struct i2c_client *i2c_get_client(int driver_id, int adapter_id,
- struct i2c_client *prev);
-
-/* Should be used with new function
- extern struct i2c_client *i2c_get_client(int,int,struct i2c_client *);
- to make sure that client-struct is valid and that it is okay to access
- the i2c-client.
+/* Should be used to make sure that client-struct is valid and that it
+ is okay to access the i2c-client.
returns -ENODEV if client has gone in the meantime */
extern int i2c_use_client(struct i2c_client *);
extern int i2c_release_client(struct i2c_client *);
OpenPOWER on IntegriCloud