staging: iio: dummy: add blank lines after declarations.
authorCatalina Mocanu <catalina.mocanu@gmail.com>
Thu, 18 Sep 2014 21:55:06 +0000 (14:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:24:19 +0000 (16:24 -0700)
This fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarations.

Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/iio_dummy_evgen.c
drivers/staging/iio/iio_simple_dummy_buffer.c
drivers/staging/iio/iio_simple_dummy_events.c

index 132d278..5a804f1 100644 (file)
@@ -202,6 +202,7 @@ static struct device iio_evgen_dev = {
 static __init int iio_dummy_evgen_init(void)
 {
        int ret = iio_dummy_evgen_create();
+
        if (ret < 0)
                return ret;
        device_initialize(&iio_evgen_dev);
index 46c134b..fd74f91 100644 (file)
@@ -71,6 +71,7 @@ static irqreturn_t iio_simple_dummy_trigger_h(int irq, void *p)
                 * in the constant table fakedata.
                 */
                int i, j;
+
                for (i = 0, j = 0;
                     i < bitmap_weight(indio_dev->active_scan_mask,
                                       indio_dev->masklength);
index 812ebd0..64b45b0 100644 (file)
@@ -148,6 +148,7 @@ int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev,
 static irqreturn_t iio_simple_dummy_event_handler(int irq, void *private)
 {
        struct iio_dev *indio_dev = private;
+
        iio_push_event(indio_dev,
                       IIO_EVENT_CODE(IIO_VOLTAGE, 0, 0,
                                      IIO_EV_DIR_RISING,