summaryrefslogtreecommitdiff
path: root/drivers/iio/light/tsl2591.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/tsl2591.c')
-rw-r--r--drivers/iio/light/tsl2591.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/tsl2591.c b/drivers/iio/light/tsl2591.c
index 850c2465992f..b81ca6f73f92 100644
--- a/drivers/iio/light/tsl2591.c
+++ b/drivers/iio/light/tsl2591.c
@@ -985,7 +985,7 @@ static int tsl2591_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)
{
struct tsl2591_chip *chip = iio_priv(indio_dev);
struct i2c_client *client = chip->client;