summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/cdc
diff options
context:
space:
mode:
authorAnchal Jain <anchalj109@gmail.com>2016-10-03 18:38:28 +0530
committerJonathan Cameron <jic23@kernel.org>2016-10-03 20:31:44 +0100
commit6d01a4d3fbd1082b3de976531699953e30f39a15 (patch)
tree1f51ca556dc7ac2eba7a3b5f1f0d9039dd02d0f5 /drivers/staging/iio/cdc
parent28e5d3bb0325e71ef9b53a9cb4242cdfb55fd8c5 (diff)
downloadlinux-6d01a4d3fbd1082b3de976531699953e30f39a15.tar.bz2
staging: iio: cdc: ad7152: Add blank line after declarations to increase readability
Add a blank line after the function to increase the readability of the code. Signed-off-by: Anchal Jain <anchalj109@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/cdc')
-rw-r--r--drivers/staging/iio/cdc/ad7152.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/iio/cdc/ad7152.c b/drivers/staging/iio/cdc/ad7152.c
index 485d0a5af53c..928f70085bd1 100644
--- a/drivers/staging/iio/cdc/ad7152.c
+++ b/drivers/staging/iio/cdc/ad7152.c
@@ -134,6 +134,7 @@ static inline ssize_t ad7152_start_calib(struct device *dev,
mutex_unlock(&indio_dev->mlock);
return len;
}
+
static ssize_t ad7152_start_offset_calib(struct device *dev,
struct device_attribute *attr,
const char *buf,
@@ -142,6 +143,7 @@ static ssize_t ad7152_start_offset_calib(struct device *dev,
return ad7152_start_calib(dev, attr, buf, len,
AD7152_CONF_MODE_OFFS_CAL);
}
+
static ssize_t ad7152_start_gain_calib(struct device *dev,
struct device_attribute *attr,
const char *buf,
@@ -317,6 +319,7 @@ out:
mutex_unlock(&indio_dev->mlock);
return ret;
}
+
static int ad7152_read_raw(struct iio_dev *indio_dev,
struct iio_chan_spec const *chan,
int *val, int *val2,
@@ -470,6 +473,7 @@ static const struct iio_chan_spec ad7152_channels[] = {
BIT(IIO_CHAN_INFO_SCALE),
}
};
+
/*
* device probe and remove
*/