diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-11-18 23:37:59 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 20:20:29 +0000 |
commit | e723b95135b1510873c832eaf8361e6b8d76bfb8 (patch) | |
tree | 643f76383b354a889e31ab6e0f807ec28cfbd85f /block | |
parent | dcc484a21108441f7970c4813b1223154dd23ea6 (diff) | |
download | linux-stable-e723b95135b1510873c832eaf8361e6b8d76bfb8.tar.gz linux-stable-e723b95135b1510873c832eaf8361e6b8d76bfb8.tar.bz2 linux-stable-e723b95135b1510873c832eaf8361e6b8d76bfb8.zip |
iio: light: tsl2772: 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-146-uwe@kleine-koenig.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions