.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * STMicroelectronics hts221 sensor driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2016 STMicroelectronics Inc. |
---|
5 | 6 | * |
---|
6 | 7 | * Lorenzo Bianconi <lorenzo.bianconi@st.com> |
---|
7 | | - * |
---|
8 | | - * Licensed under the GPL-2. |
---|
9 | 8 | */ |
---|
10 | 9 | |
---|
11 | 10 | #ifndef HTS221_H |
---|
.. | .. |
---|
50 | 49 | int hts221_probe(struct device *dev, int irq, const char *name, |
---|
51 | 50 | struct regmap *regmap); |
---|
52 | 51 | 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); |
---|
55 | 54 | |
---|
56 | 55 | #endif /* HTS221_H */ |
---|