diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-06-19 16:58:18 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-06-19 16:58:18 +0200 |
commit | 36789b5ea52bba961122b45f4383f553ec3b5a6c (patch) | |
tree | 8e4b23645de92f07c806b4ded07e6a6ed234a65d /include/linux/i2c.h | |
parent | 729d6dd571464954f625e6b80950d9e4e3bd94f7 (diff) | |
download | talos-op-linux-36789b5ea52bba961122b45f4383f553ec3b5a6c.tar.gz talos-op-linux-36789b5ea52bba961122b45f4383f553ec3b5a6c.zip |
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/linux/i2c.h')
-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); extern void i2c_clients_command(struct i2c_adapter *adap, unsigned int cmd, void *arg); -/* Detect function. It iterates over all possible addresses itself. - * It will only call found_proc if some client is connected at the - * specific address (unless a 'force' matched); - */ -extern int i2c_probe(struct i2c_adapter *adapter, - const struct i2c_client_address_data *address_data, - int (*found_proc) (struct i2c_adapter *, int, int)); - extern struct i2c_adapter *i2c_get_adapter(int id); extern void i2c_put_adapter(struct i2c_adapter *adap); |