summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarshana Padmadas <darshanapadmadas@gmail.com>2014-09-30 20:22:56 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 10:02:08 -0700
commit1592bfd203dc07dc1d58e7849402ef46d09f42dd (patch)
tree7294d96f0b602f92e9ba6448617934d8cf77a3f8
parentf6f0a3ab16a050c2572f6e81e1199d442d8ead9d (diff)
downloadlinux-1592bfd203dc07dc1d58e7849402ef46d09f42dd.tar.gz
linux-1592bfd203dc07dc1d58e7849402ef46d09f42dd.tar.bz2
linux-1592bfd203dc07dc1d58e7849402ef46d09f42dd.zip
Staging: iio: meter: Add blank line after declarations
This patch adds a blank line after declarations found by checkpatch warning. Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com> Acked-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/iio/meter/ade7754.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/iio/meter/ade7754.c b/drivers/staging/iio/meter/ade7754.c
index e0aa13ab3657..81f67318974a 100644
--- a/drivers/staging/iio/meter/ade7754.c
+++ b/drivers/staging/iio/meter/ade7754.c
@@ -340,6 +340,7 @@ static int ade7754_set_irq(struct device *dev, bool enable)
{
int ret;
u16 irqen;
+
ret = ade7754_spi_read_reg_16(dev, ADE7754_IRQEN, &irqen);
if (ret)
goto error_ret;
@@ -399,6 +400,7 @@ static ssize_t ade7754_read_frequency(struct device *dev,
int ret;
u8 t;
int sps;
+
ret = ade7754_spi_read_reg_8(dev,
ADE7754_WAVMODE,
&t);