iio: humidity: hts221: support open drain mode
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Mon, 17 Jul 2017 17:39:03 +0000 (19:39 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 25 Jul 2017 19:00:47 +0000 (20:00 +0100)
commit9251f7aaa53c0315c45ee000461002f971f01ea0
tree4ce96c6d5000f474c0814e7515cd6daa987adc4e
parent8614206a054a2b53237d5d5c47f8669477cf267f
iio: humidity: hts221: support open drain mode

Add open drain support in order to share requested IRQ line between
hts221 device and other peripherals

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/hts221_buffer.c