iio: multiplexer: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 2 Mar 2022 16:00:25 +0000 (18:00 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 4 Apr 2022 08:11:24 +0000 (09:11 +0100)
commit879a52379704e479237d0b97822fd9302fed0675
treeca623ea7a20b6ed34b15deab3217d62112ececfe
parentfee4ac32996d5fce8713aa3ad591a135f9545b96
iio: multiplexer: 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>
Acked-by: Peter Rosin <peda@axentia.se>
Link: https://lore.kernel.org/r/20220302160025.54348-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/multiplexer/Kconfig
drivers/iio/multiplexer/iio-mux.c