summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity/cros_ec_mkbp_proximity.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/proximity/cros_ec_mkbp_proximity.c')
-rw-r--r--drivers/iio/proximity/cros_ec_mkbp_proximity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/proximity/cros_ec_mkbp_proximity.c b/drivers/iio/proximity/cros_ec_mkbp_proximity.c
index b1a4a923e788..667369be0555 100644
--- a/drivers/iio/proximity/cros_ec_mkbp_proximity.c
+++ b/drivers/iio/proximity/cros_ec_mkbp_proximity.c
@@ -167,7 +167,7 @@ static int cros_ec_mkbp_proximity_read_event_config(struct iio_dev *indio_dev,
static int cros_ec_mkbp_proximity_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 cros_ec_mkbp_proximity_data *data = iio_priv(indio_dev);