[media] staging: lirc: fix checkpath errors: blank lines
authorRaphael Poggi <poggi.raph@gmail.com>
Tue, 1 Jul 2014 07:12:33 +0000 (04:12 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 18:00:48 +0000 (15:00 -0300)
This patch fix checkpath "WARNING: Missing a blank line after declarations"

Signed-off-by: Raphaƫl Poggi <poggi.raph@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/lirc/lirc_imon.c

index a5b62eec5e21061abbf29bfd9a5a387b426ea7e1..f8c337502b27d97e13de61d67d08a182c8742eb5 100644 (file)
@@ -189,6 +189,7 @@ MODULE_PARM_DESC(debug, "Debug messages: 0=no, 1=yes(default: no)");
 static void free_imon_context(struct imon_context *context)
 {
        struct device *dev = context->driver->dev;
+
        usb_free_urb(context->tx_urb);
        usb_free_urb(context->rx_urb);
        lirc_buffer_free(context->driver->rbuf);
@@ -656,6 +657,7 @@ static void imon_incoming_packet(struct imon_context *context,
                mask = 0x80;
                for (bit = 0; bit < 8; ++bit) {
                        int curr_bit = !(buf[octet] & mask);
+
                        if (curr_bit != context->rx.prev_bit) {
                                if (context->rx.count) {
                                        submit_data(context);
@@ -775,6 +777,7 @@ static int imon_probe(struct usb_interface *interface,
                struct usb_endpoint_descriptor *ep;
                int ep_dir;
                int ep_type;
+
                ep = &iface_desc->endpoint[i].desc;
                ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK;
                ep_type = ep->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;