Commit 34ff7871 authored by Ioannis Valasakis's avatar Ioannis Valasakis Committed by Greg Kroah-Hartman
Browse files

staging: axis-fifo: Remove parentheses in axis-fifo.c



staging: axis-fifo: remove parentheses in axis-fifo.c

Remove parentheses from the end of line and conform to
the coding style guidelines. Reported by checkpatch.

Add an extra space to the function arguments to fix
indentation.

Signed-off-by: default avatarIoannis Valasakis <code@wizofe.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e24c1f86
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -364,8 +364,8 @@ static ssize_t axis_fifo_read(struct file *f, char __user *buf,
		 * if nothing is currently available
		 */
		spin_lock_irq(&fifo->read_queue_lock);
		ret = wait_event_interruptible_lock_irq_timeout(
			fifo->read_queue,
		ret = wait_event_interruptible_lock_irq_timeout
			(fifo->read_queue,
			 ioread32(fifo->base_addr + XLLF_RDFO_OFFSET),
			 fifo->read_queue_lock,
			 (read_timeout >= 0) ? msecs_to_jiffies(read_timeout) :
@@ -482,8 +482,8 @@ static ssize_t axis_fifo_write(struct file *f, const char __user *buf,
		 * currently enough room in the fifo
		 */
		spin_lock_irq(&fifo->write_queue_lock);
		ret = wait_event_interruptible_lock_irq_timeout(
			fifo->write_queue,
		ret = wait_event_interruptible_lock_irq_timeout
			(fifo->write_queue,
			 ioread32(fifo->base_addr + XLLF_TDFV_OFFSET)
				>= words_to_write,
			 fifo->write_queue_lock,