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)
commit92c3e93b7d2d8d9505f295d2caff58b91b407fa2
treee1ec0a4c0ef339356c29684dc84ce4e401ae8602
parent4d8d2f09ad9fec7dcc1298541b0b12bd5dadf319
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