aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/light/max44009.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/max44009.c')
-rw-r--r--drivers/iio/light/max44009.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/max44009.c b/drivers/iio/light/max44009.c
index 3b92362675dc..8cd7f5664e5b 100644
--- a/drivers/iio/light/max44009.c
+++ b/drivers/iio/light/max44009.c
@@ -422,7 +422,7 @@ static int max44009_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 max44009_data *data = iio_priv(indio_dev);
int ret;