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 132d278c5010b3e0945d543140a9fb12f44dfefa..5a804f16ec2fbef2732387d0a8f2564ae272c4ad 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 46c134b2a5d101a4a257b1948b4af8ee90911ace..fd74f9166a5f92284563669426b800f66d2b9bbd 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 812ebd05a7fe889c7437da2c89697de06b9e2882..64b45b0775494269a3d19d8d6ebc0f17d16c30ad 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,