diff options
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 8b4d4695de0e..85c517a9b05b 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -307,9 +307,7 @@ extern struct i2c_client *i2c_get_client(int driver_id, int adapter_id, | |||
307 | extern struct i2c_client *i2c_get_client(int,int,struct i2c_client *); | 307 | extern struct i2c_client *i2c_get_client(int,int,struct i2c_client *); |
308 | to make sure that client-struct is valid and that it is okay to access | 308 | to make sure that client-struct is valid and that it is okay to access |
309 | the i2c-client. | 309 | the i2c-client. |
310 | returns -EACCES if client doesn't allow use (default) | 310 | returns -ENODEV if client has gone in the meantime */ |
311 | returns -EBUSY if client doesn't allow multiple use (default) and | ||
312 | usage_count >0 */ | ||
313 | extern int i2c_use_client(struct i2c_client *); | 311 | extern int i2c_use_client(struct i2c_client *); |
314 | extern int i2c_release_client(struct i2c_client *); | 312 | extern int i2c_release_client(struct i2c_client *); |
315 | 313 | ||