Staging: iio: Fix remaining code style issues
authorRoel Van Nyen <roel.vannyen@gmail.com>
Thu, 29 Apr 2010 17:27:31 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:57 +0000 (11:35 -0700)
fix code style issues

Signed-of-by: Roel Van Nyen <roel.vannyen@gmail.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/industrialio-core.c
drivers/staging/iio/ring_sw.c

index 37f58f66e49127dfebd5e10d1c81dbd60349d37e..7c9a12e0e8fe0aaf518f7840b078443b4a41172c 100644 (file)
@@ -809,7 +809,7 @@ int iio_device_register(struct iio_dev *dev_info)
        ret = iio_device_register_eventset(dev_info);
        if (ret) {
                dev_err(dev_info->dev.parent,
-                       "Failed to register event set \n");
+                       "Failed to register event set\n");
                goto error_free_sysfs;
        }
        if (dev_info->modes & INDIO_RING_TRIGGERED)
index 851a97edd1d48f9feaabd27b8cd70b8e115bdccf..e9570e33694e42c05ec39f775d0179c341e5681d 100644 (file)
@@ -126,8 +126,7 @@ int iio_store_to_sw_ring(struct iio_sw_ring_buffer *ring,
                spin_lock(&ring->buf.shared_ev_pointer.lock);
 
                ret = iio_push_or_escallate_ring_event(&ring->buf,
-                                                      IIO_EVENT_CODE_RING_100_FULL,
-                                                      timestamp);
+                              IIO_EVENT_CODE_RING_100_FULL, timestamp);
                spin_unlock(&ring->buf.shared_ev_pointer.lock);
                if (ret)
                        goto error_ret;