]> git.baikalelectronics.ru Git - kernel.git/commit
iio: proximity: srf04: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 May 2022 11:35:57 +0000 (14:35 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 11 Jun 2022 13:35:25 +0000 (14:35 +0100)
commit59a2deb3e576a6a0b62287fa87919c0832aeb72e
treea047da30f3c06dd4b61e878b865855265fd491a9
parentdb25e674f6803108cbb05f0d3771dd4c1b4d72b3
iio: proximity: srf04: 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>
Link: https://lore.kernel.org/r/20220504113557.59048-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/srf04.c