Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16687
b: refs/heads/master
c: 482c788
h: refs/heads/master
i:
  16685: d647ccb
  16683: 7d878c1
  16679: 80df7f6
  16671: 8b1aac2
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Jan 6, 2006
1 parent f347313 commit 57d1d9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92b429461228f0f06a994dd3d4ccf1c9ff7596bd
refs/heads/master: 482c788ded0aa9710722eaf9cf60886d3b923218
13 changes: 2 additions & 11 deletions trunk/include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down

0 comments on commit 57d1d9c

Please sign in to comment.