staging: xillybus: Trivial coding style fixes
authorEli Billauer <eli.billauer@gmail.com>
Thu, 4 Sep 2014 14:47:55 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:58:19 +0000 (13:58 -0700)
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c

index 53ec54264dc4f3ba12764bc992a8214161bc96fe..ffc6f229c97b25910f46933d424a15d41b5c5e7a 100644 (file)
@@ -407,8 +407,7 @@ static int xilly_get_dma_buffers(struct xilly_endpoint *ep,
 
 static int xilly_setupchannels(struct xilly_endpoint *ep,
                               unsigned char *chandesc,
-                              int entries
-       )
+                              int entries)
 {
        struct device *dev = ep->dev;
        int i, entry, rc;
@@ -784,8 +783,8 @@ static ssize_t xillybus_read(struct file *filp, char __user *userbuf,
                                 * the channel-specific mutex.
                                 */
 
-                               iowrite32(1 | (channel->chan_num << 1)
-                                          | (bufidx << 12),
+                               iowrite32(1 | (channel->chan_num << 1) |
+                                         (bufidx << 12),
                                           channel->endpoint->registers +
                                           fpga_buf_ctrl_reg);
                        }