summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/mcp9600.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/temperature/mcp9600.c')
-rw-r--r--drivers/iio/temperature/mcp9600.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/temperature/mcp9600.c b/drivers/iio/temperature/mcp9600.c
index f1bb0976273d..c2447860adfd 100644
--- a/drivers/iio/temperature/mcp9600.c
+++ b/drivers/iio/temperature/mcp9600.c
@@ -200,7 +200,7 @@ static int mcp9600_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 mcp9600_data *data = iio_priv(indio_dev);
struct i2c_client *client = data->client;