diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-11-19 01:38:26 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 23:20:31 +0300 |
commit | 8afce858762fc767dbd52d313adf058098332aaf (patch) | |
tree | 18663db6c6253eeee085a3855bcc7e9a4fc6f973 /drivers/iio/pressure/mpl3115.c | |
parent | 7a5da8b28618426a81f53f496de3a83d47df2634 (diff) | |
download | linux-8afce858762fc767dbd52d313adf058098332aaf.tar.xz |
iio: pressure: mpl115_i2c: Convert to i2c's .probe_new()
.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221118224540.619276-173-uwe@kleine-koenig.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure/mpl3115.c')
0 files changed, 0 insertions, 0 deletions