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>
This commit is contained in:
parent
9034720a54
commit
b581c3d9a9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue