iio: pressure: bmp280: convert to i2c's .probe_new()
Use i2c_client_get_device_id() to get the i2c_device_id* parameter in the .new_probe() callback. Signed-off-by:Angel Iglesias <ang.iglesiasg@gmail.com> Reviewed-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/5dcaa389ea2ffe7050091b07a3bc4b0c1c9d586b.1668361368.git.ang.iglesiasg@gmail.com Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
parent
b15654dd
Please register or sign in to comment