diff options
author | Darshana Padmadas <darshanapadmadas@gmail.com> | 2014-09-30 20:22:57 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-02 10:02:08 -0700 |
commit | f6f0a3ab16a050c2572f6e81e1199d442d8ead9d (patch) | |
tree | a407a957b35c374e24b617acaf1564242c022fb0 | |
parent | b0604719c956c5be3964558b990c025746b736b8 (diff) | |
download | linux-f6f0a3ab16a050c2572f6e81e1199d442d8ead9d.tar.bz2 |
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>
-rw-r--r-- | drivers/staging/iio/meter/ade7758_core.c | 4 |
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); |