diff options
author | Darshana Padmadas <darshanapadmadas@gmail.com> | 2014-09-30 20:22:58 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-02 10:02:08 -0700 |
commit | b0604719c956c5be3964558b990c025746b736b8 (patch) | |
tree | 11155e358c0ad95b73d86b0e419fb62bb4ebcdc1 /drivers | |
parent | 15c643661bf65176efd8349f0ad2bf096b915da1 (diff) |
Staging: iio: meter: Add a blank line after declarations
Patch fixes warning and adds a blank line after declarations
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')
-rw-r--r-- | drivers/staging/iio/meter/ade7759.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/iio/meter/ade7759.c b/drivers/staging/iio/meter/ade7759.c index ea0c9debf8b..7d217430616 100644 --- a/drivers/staging/iio/meter/ade7759.c +++ b/drivers/staging/iio/meter/ade7759.c @@ -217,6 +217,7 @@ static int ade7759_reset(struct device *dev) { int ret; u16 val; + ade7759_spi_read_reg_16(dev, ADE7759_MODE, &val); @@ -280,6 +281,7 @@ static int ade7759_set_irq(struct device *dev, bool enable) { int ret; u8 irqen; + ret = ade7759_spi_read_reg_8(dev, ADE7759_IRQEN, &irqen); if (ret) goto error_ret; @@ -340,6 +342,7 @@ static ssize_t ade7759_read_frequency(struct device *dev, int ret; u16 t; int sps; + ret = ade7759_spi_read_reg_16(dev, ADE7759_MODE, &t); |