iio: humidity: hts221: move BDU configuration in probe routine
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Mon, 17 Jul 2017 17:38:57 +0000 (19:38 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 22 Jul 2017 20:18:08 +0000 (21:18 +0100)
commit2ede27402a66a896015491d9524f982c522a740a
treefe67c9b498dd096248f92f98b742ad65468a7199
parentbd49302a73340cc3d064e5959524732ea0eea1ef
iio: humidity: hts221: move BDU configuration in probe routine

Enable Block Data Update in hts221_probe() in order to avoid to reconfigure
it every time the sensor is enabled

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