diff options
author | Roel Van Nyen <roel.vannyen@gmail.com> | 2010-04-29 19:27:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:35:57 -0700 |
commit | c849d2538ebeef1ac26fad7a10c18b1e0fc35161 (patch) | |
tree | bac454a2f30afbbd5b2c129e919e4a61983f3c6f /drivers/staging/iio | |
parent | 18e7e78e945527d9cb570a17f0835815f1794c2f (diff) | |
download | kernel_samsung_smdk4412-c849d2538ebeef1ac26fad7a10c18b1e0fc35161.zip kernel_samsung_smdk4412-c849d2538ebeef1ac26fad7a10c18b1e0fc35161.tar.gz kernel_samsung_smdk4412-c849d2538ebeef1ac26fad7a10c18b1e0fc35161.tar.bz2 |
Staging: iio: Fix remaining code style issues
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>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/industrialio-core.c | 2 | ||||
-rw-r--r-- | drivers/staging/iio/ring_sw.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c index 37f58f6..7c9a12e 100644 --- a/drivers/staging/iio/industrialio-core.c +++ b/drivers/staging/iio/industrialio-core.c @@ -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) diff --git a/drivers/staging/iio/ring_sw.c b/drivers/staging/iio/ring_sw.c index 851a97e..e9570e3 100644 --- a/drivers/staging/iio/ring_sw.c +++ b/drivers/staging/iio/ring_sw.c @@ -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; |