hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/iio/humidity/hts221.h
....@@ -1,11 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * STMicroelectronics hts221 sensor driver
34 *
45 * Copyright 2016 STMicroelectronics Inc.
56 *
67 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7
- *
8
- * Licensed under the GPL-2.
98 */
109
1110 #ifndef HTS221_H
....@@ -50,7 +49,7 @@
5049 int hts221_probe(struct device *dev, int irq, const char *name,
5150 struct regmap *regmap);
5251 int hts221_set_enable(struct hts221_hw *hw, bool enable);
53
-int hts221_allocate_buffers(struct hts221_hw *hw);
54
-int hts221_allocate_trigger(struct hts221_hw *hw);
52
+int hts221_allocate_buffers(struct iio_dev *iio_dev);
53
+int hts221_allocate_trigger(struct iio_dev *iio_dev);
5554
5655 #endif /* HTS221_H */