]> git.baikalelectronics.ru Git - kernel.git/commit
iio: humidity: hts221: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Mar 2020 10:49:54 +0000 (12:49 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 10:27:05 +0000 (10:27 +0000)
commit682f638b8c082858406c01a67c6ee18f2d793b83
treee1ec0a4c0ef339356c29684dc84ce4e401ae8602
parent61d6db0e204efaf456bbcb7e64e89581373a320b
iio: humidity: hts221: Make use of device properties

Device property API allows to gather device resources from different sources,
such as ACPI. Convert the drivers to unleash the power of device property API.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/hts221_buffer.c
drivers/iio/humidity/hts221_i2c.c
drivers/iio/humidity/hts221_spi.c