diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-04-06 18:12:24 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-04-06 18:12:24 +0200 |
commit | e3ee703366da3a4ce80f24b47a5df56cd816c5d6 (patch) | |
tree | f3227fac0636bfc6fb4cfb01bb1b75ee42f50235 /include/linux/i2c.h | |
parent | 0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (diff) | |
download | kernel_samsung_espresso10-e3ee703366da3a4ce80f24b47a5df56cd816c5d6.zip kernel_samsung_espresso10-e3ee703366da3a4ce80f24b47a5df56cd816c5d6.tar.gz kernel_samsung_espresso10-e3ee703366da3a4ce80f24b47a5df56cd816c5d6.tar.bz2 |
i2c: Deprecate client_register and client_unregister methods
The new i2c binding model makes the client_register and
client_unregister methods of struct i2c_adapter useless, so we can
remove them with the rest of the legacy model.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index c86c3b0..00ee11e 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -353,8 +353,8 @@ struct i2c_adapter { void *algo_data; /* --- administration stuff. */ - int (*client_register)(struct i2c_client *); - int (*client_unregister)(struct i2c_client *); + int (*client_register)(struct i2c_client *) __deprecated; + int (*client_unregister)(struct i2c_client *) __deprecated; /* data fields that are valid for all devices */ u8 level; /* nesting level for lockdep */ |