diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-01 00:39:21 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-14 11:53:08 +0100 |
| commit | d8600a189c71ece45f7c75f796ae43b6bfabb419 (patch) | |
| tree | 438320c3240d8d11c6f821e104cdb4ce03175b85 /include/linux | |
| parent | 3cc6a67b73fdf2bb42f52aff7efe0f73496527a3 (diff) | |
iio: adc: nau7802: Convert driver to use ->probe_new()
Use the ->probe_new() callback.
The driver does not use const struct i2c_device_id * argument,
so convert it to utilise the simplified I²C driver registration.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220531213922.72992-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
