summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorDarshana Padmadas <darshanapadmadas@gmail.com>2014-09-30 18:52:57 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 21:02:08 +0400
commitf6f0a3ab16a050c2572f6e81e1199d442d8ead9d (patch)
treea407a957b35c374e24b617acaf1564242c022fb0 /drivers/staging
parentb0604719c956c5be3964558b990c025746b736b8 (diff)
downloadlinux-f6f0a3ab16a050c2572f6e81e1199d442d8ead9d.tar.xz
Staging: iio: meter: Add blank line after declarations.
This patch adds a blank line after declarations to fix 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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/iio/meter/ade7758_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/iio/meter/ade7758_core.c b/drivers/staging/iio/meter/ade7758_core.c
index cba183e24838..abc60067cd72 100644
--- a/drivers/staging/iio/meter/ade7758_core.c
+++ b/drivers/staging/iio/meter/ade7758_core.c
@@ -302,6 +302,7 @@ static int ade7758_reset(struct device *dev)
{
int ret;
u8 val;
+
ade7758_spi_read_reg_8(dev,
ADE7758_OPMODE,
&val);
@@ -418,6 +419,7 @@ int ade7758_set_irq(struct device *dev, bool enable)
{
int ret;
u32 irqen;
+
ret = ade7758_spi_read_reg_24(dev, ADE7758_MASK, &irqen);
if (ret)
goto error_ret;
@@ -441,6 +443,7 @@ static int ade7758_stop_device(struct device *dev)
{
int ret;
u8 val;
+
ade7758_spi_read_reg_8(dev,
ADE7758_OPMODE,
&val);
@@ -483,6 +486,7 @@ static ssize_t ade7758_read_frequency(struct device *dev,
int ret, len = 0;
u8 t;
int sps;
+
ret = ade7758_spi_read_reg_8(dev,
ADE7758_WAVMODE,
&t);