Commit 47669755 authored by Melissa Wen's avatar Melissa Wen Committed by Jonathan Cameron

staging: iio: ad7150: clean up of comments

General cleaning of comments to remove useless information or improve
description.
Signed-off-by: default avatarMelissa Wen <melissa.srw@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 28c79014
......@@ -163,7 +163,8 @@ static int ad7150_read_event_config(struct iio_dev *indio_dev,
return -EINVAL;
}
/* lock should be held */
/* state_lock should be held to ensure consistent state*/
static int ad7150_write_event_params(struct iio_dev *indio_dev,
unsigned int chan,
enum iio_event_type type,
......@@ -479,10 +480,6 @@ static const struct iio_chan_spec ad7150_channels[] = {
AD7150_CAPACITANCE_CHAN(1)
};
/*
* threshold events
*/
static irqreturn_t ad7150_event_handler(int irq, void *private)
{
struct iio_dev *indio_dev = private;
......@@ -571,10 +568,6 @@ static const struct iio_info ad7150_info = {
.write_event_value = &ad7150_write_event_value,
};
/*
* device probe and remove
*/
static int ad7150_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment