]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: nau7802: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 31 May 2022 21:39:22 +0000 (00:39 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Jun 2022 10:53:09 +0000 (11:53 +0100)
commit7fd277016541fc17cde1518022a84cd88c6f6196
tree06bcb5b07080681f3912a1d2588115b37526b970
parent774701052bfc40a84064101f7822d570f8e09fd7
iio: adc: nau7802: Make use of device properties

Convert the module to be property provider agnostic and allow
it to be used on non-OF platforms.

Add mod_devicetable.h include.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220531213922.72992-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/nau7802.c