ad525x_dpot-spi: Added Blank lines after declarations
authorMohammad Jamal <md.jamalmohiuddin@gmail.com>
Thu, 18 Dec 2014 01:54:11 +0000 (07:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:12 +0000 (05:04 -0800)
This patch solves the blank line warning of checkpatch.pl

Signed-off-by: Mohammad Jamal <md.jamalmohiuddin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ad525x_dpot-spi.c

index 9da04ede04f356aaef1495bd0cf01408e6556da5..f4c82eafa8e57a15cda2da73c6f276fb09f5c0b9 100644 (file)
 static int write8(void *client, u8 val)
 {
        u8 data = val;
+
        return spi_write(client, &data, 1);
 }
 
 static int write16(void *client, u8 reg, u8 val)
 {
        u8 data[2] = {reg, val};
+
        return spi_write(client, data, 2);
 }
 
 static int write24(void *client, u8 reg, u16 val)
 {
        u8 data[3] = {reg, val >> 8, val};
+
        return spi_write(client, data, 3);
 }
 
@@ -34,6 +37,7 @@ static int read8(void *client)
 {
        int ret;
        u8 data;
+
        ret = spi_read(client, &data, 1);
        if (ret < 0)
                return ret;