aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorCristina Moraru <cristina.moraru09@gmail.com>2015-10-01 22:10:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-02 11:36:00 +0200
commit1657183fcc4e044b2e96bcb9150265027ad2b44b (patch)
tree2df39eb347c3e86275b516e61aecdffae6ddfee0 /drivers/staging/iio
parentstaging: dgnc: Fix indentation warning (diff)
downloadlinux-dev-1657183fcc4e044b2e96bcb9150265027ad2b44b.tar.xz
linux-dev-1657183fcc4e044b2e96bcb9150265027ad2b44b.zip
staging: iio: Fix comment style warning
Move final */ to the next line, in accordance with the suggestion of checkpatch Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/accel/lis3l02dq_ring.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/iio/accel/lis3l02dq_ring.c b/drivers/staging/iio/accel/lis3l02dq_ring.c
index b892f2cf5f9e..1a0651cb2691 100644
--- a/drivers/staging/iio/accel/lis3l02dq_ring.c
+++ b/drivers/staging/iio/accel/lis3l02dq_ring.c
@@ -195,7 +195,8 @@ __lis3l02dq_write_data_ready_config(struct iio_dev *indio_dev, bool state)
/* Enable requested */
} else if (state && !currentlyset) {
/* If not set, enable requested
- * first disable all events */
+ * first disable all events
+ */
ret = lis3l02dq_disable_all_events(indio_dev);
if (ret < 0)
goto error_ret;
@@ -255,7 +256,8 @@ static int lis3l02dq_trig_try_reen(struct iio_trigger *trig)
int i;
/* If gpio still high (or high again)
- * In theory possible we will need to do this several times */
+ * In theory possible we will need to do this several times
+ */
for (i = 0; i < 5; i++)
if (gpio_get_value(st->gpio))
lis3l02dq_read_all(indio_dev, NULL);