summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/light/isl29018.c
diff options
context:
space:
mode:
authorEva Rachel Retuya <eraretuya@gmail.com>2016-02-18 15:35:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-20 14:45:56 -0800
commit7f3829a35491b6ec781eac546b396d2342da3e27 (patch)
treed7fcd0092c36cf1d267ebb18e53dfc4517a2e094 /drivers/staging/iio/light/isl29018.c
parent79783b31d51c0dc560a6c5a42838ced08cddfdbb (diff)
downloadlinux-7f3829a35491b6ec781eac546b396d2342da3e27.tar.gz
linux-7f3829a35491b6ec781eac546b396d2342da3e27.tar.bz2
linux-7f3829a35491b6ec781eac546b396d2342da3e27.zip
staging: iio: light: fix block comments according to kernel coding style
Add the trailing */ accordingly to suit the preferred way of placing block comments. Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/light/isl29018.c')
-rw-r--r--drivers/staging/iio/light/isl29018.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
index 6c9d943cedbf..03dbfb60be42 100644
--- a/drivers/staging/iio/light/isl29018.c
+++ b/drivers/staging/iio/light/isl29018.c
@@ -320,8 +320,10 @@ static ssize_t show_prox_infrared_suppression(struct device *dev,
struct iio_dev *indio_dev = dev_to_iio_dev(dev);
struct isl29018_chip *chip = iio_priv(indio_dev);
- /* return the "proximity scheme" i.e. if the chip does on chip
- infrared suppression (1 means perform on chip suppression) */
+ /*
+ * return the "proximity scheme" i.e. if the chip does on chip
+ * infrared suppression (1 means perform on chip suppression)
+ */
return sprintf(buf, "%d\n", chip->prox_scheme);
}
@@ -340,8 +342,10 @@ static ssize_t store_prox_infrared_suppression(struct device *dev,
return -EINVAL;
}
- /* get the "proximity scheme" i.e. if the chip does on chip
- infrared suppression (1 means perform on chip suppression) */
+ /*
+ * get the "proximity scheme" i.e. if the chip does on chip
+ * infrared suppression (1 means perform on chip suppression)
+ */
mutex_lock(&chip->lock);
chip->prox_scheme = val;
mutex_unlock(&chip->lock);