summaryrefslogtreecommitdiff
path: root/drivers/iio/humidity/hts221.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>2017-07-17 20:39:00 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-07-22 23:20:48 +0300
commite3e25446a3d2d1beb2443b65a919e59a060182d5 (patch)
tree93a6c8aa869999158593037712f0ca2a4644adff /drivers/iio/humidity/hts221.h
parentffebe74b7c95a41d2d0ac70a44d410e0efa37ad8 (diff)
downloadlinux-e3e25446a3d2d1beb2443b65a919e59a060182d5.tar.xz
iio: humidity: hts221: squash hts221_power_on/off in hts221_set_enable
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/humidity/hts221.h')
-rw-r--r--drivers/iio/humidity/hts221.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/humidity/hts221.h b/drivers/iio/humidity/hts221.h
index bf33d8f6396c..69dfa5c63ec2 100644
--- a/drivers/iio/humidity/hts221.h
+++ b/drivers/iio/humidity/hts221.h
@@ -62,8 +62,7 @@ extern const struct dev_pm_ops hts221_pm_ops;
int hts221_config_drdy(struct hts221_hw *hw, bool enable);
int hts221_probe(struct iio_dev *iio_dev);
-int hts221_power_on(struct hts221_hw *hw);
-int hts221_power_off(struct hts221_hw *hw);
+int hts221_set_enable(struct hts221_hw *hw, bool enable);
int hts221_allocate_buffers(struct hts221_hw *hw);
int hts221_allocate_trigger(struct hts221_hw *hw);