diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-06-19 10:58:18 -0400 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-06-19 10:58:18 -0400 |
commit | 36789b5ea52bba961122b45f4383f553ec3b5a6c (patch) | |
tree | 8e4b23645de92f07c806b4ded07e6a6ed234a65d /include | |
parent | 729d6dd571464954f625e6b80950d9e4e3bd94f7 (diff) |
i2c: Drop i2c_probe function
The legacy i2c_probe() function has no users left, get rid of it.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 43a3545670b8..db25a870843a 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -419,14 +419,6 @@ extern void i2c_release_client(struct i2c_client *client); | |||
419 | extern void i2c_clients_command(struct i2c_adapter *adap, | 419 | extern void i2c_clients_command(struct i2c_adapter *adap, |
420 | unsigned int cmd, void *arg); | 420 | unsigned int cmd, void *arg); |
421 | 421 | ||
422 | /* Detect function. It iterates over all possible addresses itself. | ||
423 | * It will only call found_proc if some client is connected at the | ||
424 | * specific address (unless a 'force' matched); | ||
425 | */ | ||
426 | extern int i2c_probe(struct i2c_adapter *adapter, | ||
427 | const struct i2c_client_address_data *address_data, | ||
428 | int (*found_proc) (struct i2c_adapter *, int, int)); | ||
429 | |||
430 | extern struct i2c_adapter *i2c_get_adapter(int id); | 422 | extern struct i2c_adapter *i2c_get_adapter(int id); |
431 | extern void i2c_put_adapter(struct i2c_adapter *adap); | 423 | extern void i2c_put_adapter(struct i2c_adapter *adap); |
432 | 424 | ||