Staging: iio: meter: ade7753: Fixed checkpatch.pl warnings
authorTina Johnson <tinajohnson.1234@gmail.com>
Sat, 13 Sep 2014 10:16:15 +0000 (15:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:23:51 +0000 (16:23 -0700)
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>
drivers/staging/iio/meter/ade7753.c

index 7161c61..78e8f56 100644 (file)
@@ -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;