diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2020-04-06 15:25:31 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2020-04-15 12:48:21 +0300 |
commit | 3c1d1613be80c2e17f1ddf672df1d8a8caebfd0d (patch) | |
tree | 7094825d5fa7efba89506b3a1ce12dba5d163d0d /include/linux/i2c.h | |
parent | edb2c9dd3948738ef030c32b948543e84f4d3f81 (diff) | |
download | linux-3c1d1613be80c2e17f1ddf672df1d8a8caebfd0d.tar.xz |
i2c: remove i2c_new_probed_device API
All in-tree users have been converted to the new i2c_new_scanned_device
function, so remove this deprecated one.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 456fc17ecb1c..45d36ba4826b 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -461,12 +461,6 @@ i2c_new_scanned_device(struct i2c_adapter *adap, unsigned short const *addr_list, int (*probe)(struct i2c_adapter *adap, unsigned short addr)); -struct i2c_client * -i2c_new_probed_device(struct i2c_adapter *adap, - struct i2c_board_info *info, - unsigned short const *addr_list, - int (*probe)(struct i2c_adapter *adap, unsigned short addr)); - /* Common custom probe functions */ int i2c_probe_func_quick_read(struct i2c_adapter *adap, unsigned short addr); |