diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/i2c.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index f7cd2f370c39..78a305bed8eb 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -386,11 +386,8 @@ static inline int i2c_add_driver(struct i2c_driver *driver) | |||
386 | extern int i2c_attach_client(struct i2c_client *); | 386 | extern int i2c_attach_client(struct i2c_client *); |
387 | extern int i2c_detach_client(struct i2c_client *); | 387 | extern int i2c_detach_client(struct i2c_client *); |
388 | 388 | ||
389 | /* Should be used to make sure that client-struct is valid and that it | 389 | extern struct i2c_client *i2c_use_client(struct i2c_client *client); |
390 | is okay to access the i2c-client. | 390 | extern void i2c_release_client(struct i2c_client *client); |
391 | returns -ENODEV if client has gone in the meantime */ | ||
392 | extern int i2c_use_client(struct i2c_client *); | ||
393 | extern int i2c_release_client(struct i2c_client *); | ||
394 | 391 | ||
395 | /* call the i2c_client->command() of all attached clients with | 392 | /* call the i2c_client->command() of all attached clients with |
396 | * the given arguments */ | 393 | * the given arguments */ |