From 57d1d9cf1f5abfdc3154b2d31054703f345cdb33 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 26 Nov 2005 21:06:08 +0100 Subject: [PATCH] --- yaml --- r: 16687 b: refs/heads/master c: 482c788ded0aa9710722eaf9cf60886d3b923218 h: refs/heads/master i: 16685: d647ccb67b601dc5dab05175e9e76c0f71136141 16683: 7d878c1320a1579d5110374215781fb9ba68070c 16679: 80df7f6e2046337adae8ba51762e9720653269f5 16671: 8b1aac2a65d87af74b55af066e2fcfb7b246ca03 v: v3 --- [refs] | 2 +- trunk/include/linux/i2c.h | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/[refs] b/[refs] index 4b05e6a202eb..374b5b615c24 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 92b429461228f0f06a994dd3d4ccf1c9ff7596bd +refs/heads/master: 482c788ded0aa9710722eaf9cf60886d3b923218 diff --git a/trunk/include/linux/i2c.h b/trunk/include/linux/i2c.h index 85c517a9b05b..a9cea62fd486 100644 --- a/trunk/include/linux/i2c.h +++ b/trunk/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 *);