aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/temperature/tmp007.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/temperature/tmp007.c')
-rw-r--r--drivers/iio/temperature/tmp007.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/temperature/tmp007.c b/drivers/iio/temperature/tmp007.c
index 9bdfa9423492..fd4d389ce1df 100644
--- a/drivers/iio/temperature/tmp007.c
+++ b/drivers/iio/temperature/tmp007.c
@@ -216,7 +216,7 @@ static irqreturn_t tmp007_interrupt_handler(int irq, void *private)
static int tmp007_write_event_config(struct iio_dev *indio_dev,
const struct iio_chan_spec *chan, enum iio_event_type type,
- enum iio_event_direction dir, int state)
+ enum iio_event_direction dir, bool state)
{
struct tmp007_data *data = iio_priv(indio_dev);
unsigned int status_mask;