iio: trigger: stm32-timer: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 2 Feb 2022 20:41:12 +0000 (22:41 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:35:49 +0000 (11:35 +0000)
commit150ba97f1cb9eb867bba6d5e1861be6fd5580adf
tree16b50d5eb163cf8de6f4dcd107085f90fc416513
parentb863f2e3a83f990752410851ab02a36c8c740008
iio: trigger: stm32-timer: Make use of device properties

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20220202204112.57095-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/trigger/Kconfig
drivers/iio/trigger/stm32-timer-trigger.c