History

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.

Wolfram Sang committed 6 years ago

Commit 3c1d1611 parent edb2c9d2 files · +0 −19Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/i2c.h+0−6
@@ -461,12 +461,6 @@ i2c_new_scanned_device(struct i2c_adapter *adap, · 460 unmodified lines
461461 unsigned short const *addr_list,
462462 int (*probe)(struct i2c_adapter *adap, unsigned short addr));
463463
464−struct i2c_client *
465−i2c_new_probed_device(struct i2c_adapter *adap,
466− struct i2c_board_info *info,
467− unsigned short const *addr_list,
468− int (*probe)(struct i2c_adapter *adap, unsigned short addr));
469−
470464 /* Common custom probe functions */
471465 int i2c_probe_func_quick_read(struct i2c_adapter *adap, unsigned short addr);
472466