summaryrefslogtreecommitdiffstats
path: root/drivers/iio/proximity/vcnl3020.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/proximity/vcnl3020.c')
-rw-r--r--drivers/iio/proximity/vcnl3020.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/proximity/vcnl3020.c b/drivers/iio/proximity/vcnl3020.c
index d1ddf85f5383..bb6c9cc88b35 100644
--- a/drivers/iio/proximity/vcnl3020.c
+++ b/drivers/iio/proximity/vcnl3020.c
@@ -449,7 +449,7 @@ static int vcnl3020_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)
+ bool state)
{
switch (chan->type) {
case IIO_PROXIMITY: