staging: media: lirc: Fix missing blank line warning.
authorGulsah Kose <gulsah.1004@gmail.com>
Sat, 20 Sep 2014 22:06:55 +0000 (01:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:39:45 +0000 (17:39 -0700)
Fixes "Missing a blank line after declarations" checkpatch.pl warning in
lirc_bt829.c

Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_bt829.c

index fe010542ab4b6e1d2763a5f8acfa0bb8c6eba43c..3b52f86a4bd338745c0cf17b52f820c1e874b436 100644 (file)
@@ -71,6 +71,7 @@ static struct lirc_driver atir_driver;
 static struct pci_dev *do_pci_probe(void)
 {
        struct pci_dev *my_dev;
+
        my_dev = pci_get_device(PCI_VENDOR_ID_ATI,
                                PCI_DEVICE_ID_ATI_264VT, NULL);
        if (my_dev) {
@@ -96,6 +97,7 @@ static int atir_add_to_buf(void *data, struct lirc_buffer *buf)
 {
        unsigned char key;
        int status;
+
        status = poll_main();
        key = (status >> 8) & 0xFF;
        if (status & 0xFF) {
@@ -229,6 +231,7 @@ static void do_i2c_start(void)
 static void do_i2c_stop(void)
 {
        unsigned char bits;
+
        bits =  do_get_bits() & 0xFD;
        do_set_bits(bits);
        cycle_delay(1);
@@ -333,6 +336,7 @@ static unsigned char seems_rd_byte(void)
 static void do_set_bits(unsigned char new_bits)
 {
        int reg_val;
+
        reg_val = read_index(0x34);
        if (new_bits & 2) {
                reg_val &= 0xFFFFFFDF;
@@ -393,6 +397,7 @@ static unsigned int read_index(unsigned char index)
 static void write_index(unsigned char index, unsigned int reg_val)
 {
        unsigned char __iomem *addr;
+
        addr = pci_addr_lin + ((index & 0xFF) << 2);
        writel(reg_val, addr);
 }