diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-08-26 08:43:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-03 15:26:43 -0400 |
commit | 99698b45670a37b5304d5c6a743c8e96baa9ed8f (patch) | |
tree | 9e558923bf48cc04367bac9f4eb11c015a398c7d /drivers/iio/industrialio-buffer.c | |
parent | d25b3808db3a03deb12ffc0660c757b4a619f262 (diff) |
iio: whitespace cleanup and removal of semicolon after functions
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/industrialio-buffer.c')
-rw-r--r-- | drivers/iio/industrialio-buffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c index 4add9bb40eeb..774891cf8139 100644 --- a/drivers/iio/industrialio-buffer.c +++ b/drivers/iio/industrialio-buffer.c | |||
@@ -422,7 +422,7 @@ ssize_t iio_buffer_store_enable(struct device *dev, | |||
422 | ret = indio_dev->setup_ops->preenable(indio_dev); | 422 | ret = indio_dev->setup_ops->preenable(indio_dev); |
423 | if (ret) { | 423 | if (ret) { |
424 | printk(KERN_ERR | 424 | printk(KERN_ERR |
425 | "Buffer not started:" | 425 | "Buffer not started: " |
426 | "buffer preenable failed\n"); | 426 | "buffer preenable failed\n"); |
427 | goto error_ret; | 427 | goto error_ret; |
428 | } | 428 | } |
@@ -431,12 +431,12 @@ ssize_t iio_buffer_store_enable(struct device *dev, | |||
431 | ret = buffer->access->request_update(buffer); | 431 | ret = buffer->access->request_update(buffer); |
432 | if (ret) { | 432 | if (ret) { |
433 | printk(KERN_INFO | 433 | printk(KERN_INFO |
434 | "Buffer not started:" | 434 | "Buffer not started: " |
435 | "buffer parameter update failed\n"); | 435 | "buffer parameter update failed\n"); |
436 | goto error_ret; | 436 | goto error_ret; |
437 | } | 437 | } |
438 | } | 438 | } |
439 | /* Definitely possible for devices to support both of these.*/ | 439 | /* Definitely possible for devices to support both of these. */ |
440 | if (indio_dev->modes & INDIO_BUFFER_TRIGGERED) { | 440 | if (indio_dev->modes & INDIO_BUFFER_TRIGGERED) { |
441 | if (!indio_dev->trig) { | 441 | if (!indio_dev->trig) { |
442 | printk(KERN_INFO | 442 | printk(KERN_INFO |
@@ -456,7 +456,7 @@ ssize_t iio_buffer_store_enable(struct device *dev, | |||
456 | ret = indio_dev->setup_ops->postenable(indio_dev); | 456 | ret = indio_dev->setup_ops->postenable(indio_dev); |
457 | if (ret) { | 457 | if (ret) { |
458 | printk(KERN_INFO | 458 | printk(KERN_INFO |
459 | "Buffer not started:" | 459 | "Buffer not started: " |
460 | "postenable failed\n"); | 460 | "postenable failed\n"); |
461 | indio_dev->currentmode = previous_mode; | 461 | indio_dev->currentmode = previous_mode; |
462 | if (indio_dev->setup_ops->postdisable) | 462 | if (indio_dev->setup_ops->postdisable) |
@@ -657,7 +657,7 @@ EXPORT_SYMBOL_GPL(iio_scan_mask_query); | |||
657 | /** | 657 | /** |
658 | * struct iio_demux_table() - table describing demux memcpy ops | 658 | * struct iio_demux_table() - table describing demux memcpy ops |
659 | * @from: index to copy from | 659 | * @from: index to copy from |
660 | * @to: index to copy to | 660 | * @to: index to copy to |
661 | * @length: how many bytes to copy | 661 | * @length: how many bytes to copy |
662 | * @l: list head used for management | 662 | * @l: list head used for management |
663 | */ | 663 | */ |