]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: iio: meter: Add a blank line after declarations
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Tue, 30 Sep 2014 14:52:58 +0000 (20:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 17:02:08 +0000 (10:02 -0700)
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>
drivers/staging/iio/meter/ade7759.c

index ea0c9debf8bf90604669ce9ad982a7fa6eac0dd6..7d217430616a3aea098c99ce0a3a551e0ee90808 100644 (file)
@@ -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);