From b581c3d9a90772613e05e659b4e8defc81704212 Mon Sep 17 00:00:00 2001 From: Tina Johnson Date: Sat, 13 Sep 2014 15:46:15 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/meter/ade7753.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5