OSDN Git Service

iio: humidity: hts221: move drdy enable logic in hts221_trig_set_state()
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Mon, 17 Jul 2017 17:39:05 +0000 (19:39 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 25 Jul 2017 19:03:04 +0000 (20:03 +0100)
commitf3f0ae16f0ce2a11067b958c7cf2a48c32ea6d60
treefa9d8efafa80faf1c0579851c59ea112cbc0c7f7
parent21d841b2a417bfe4cce9b1266bb851ba0da89d37
iio: humidity: hts221: move drdy enable logic in hts221_trig_set_state()

Move data-ready configuration in hts221_buffer.c since it is only related
to trigger logic

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