]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: xilinx-xadc: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 31 May 2022 14:11:17 +0000 (17:11 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 13 Jul 2022 16:11:43 +0000 (17:11 +0100)
commit464b2ac0a861543f0c6c3893efb9178e96bcfb74
tree7f32fce4398e62ea83967721520f7e351742c6f1
parentd6a720c67174176ffe673590ae3590a20a003aa6
iio: adc: xilinx-xadc: 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>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20220531141118.64540-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/xilinx-xadc-core.c