diff options
author | Tina Johnson <tinajohnson.1234@gmail.com> | 2014-09-13 15:46:15 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 16:23:51 -0700 |
commit | b581c3d9a90772613e05e659b4e8defc81704212 (patch) | |
tree | adfd7f3b1f625cdace67bb3efdcfab2bd419eb9b | |
parent | 9034720a54738bbaf96b619f34f887199ac7efed (diff) |
Staging: iio: meter: ade7753: Fixed checkpatch.pl warnings
Clean-up patch to fix the following checkpatch.pl warnings:
ade7753.c:325: WARNING: Missing a blank line after declarations
ade7753.c:383: WARNING: Missing a blank line after declarations
Signed-off-by: Tina Johnson<tinajohnson.1234@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/iio/meter/ade7753.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/iio/meter/ade7753.c b/drivers/staging/iio/meter/ade7753.c index 7161c61fc6eb..78e8f560eeec 100644 --- a/drivers/staging/iio/meter/ade7753.c +++ b/drivers/staging/iio/meter/ade7753.c @@ -322,6 +322,7 @@ static int ade7753_set_irq(struct device *dev, bool enable) { int ret; u8 irqen; + ret = ade7753_spi_read_reg_8(dev, ADE7753_IRQEN, &irqen); if (ret) goto error_ret; @@ -380,6 +381,7 @@ static ssize_t ade7753_read_frequency(struct device *dev, int ret; u16 t; int sps; + ret = ade7753_spi_read_reg_16(dev, ADE7753_MODE, &t); if (ret) return ret; |