From: Darshana Padmadas Date: Tue, 30 Sep 2014 14:52:58 +0000 (+0530) Subject: Staging: iio: meter: Add a blank line after declarations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0604719c956c5be3964558b990c025746b736b8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Staging: iio: meter: Add a blank line after declarations Patch fixes warning and adds a blank line after declarations Signed-off-by: Darshana Padmadas Acked-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/meter/ade7759.c b/drivers/staging/iio/meter/ade7759.c index ea0c9debf8bf..7d217430616a 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);