From: Eli Billauer Date: Thu, 4 Sep 2014 14:47:55 +0000 (+0300) Subject: staging: xillybus: Trivial coding style fixes X-Git-Tag: v3.18-rc1~130^2~636 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=79ae92c436f216112a543ab4e62e8b512c9526e5;p=karo-tx-linux.git staging: xillybus: Trivial coding style fixes Suggested-by: Dan Carpenter Signed-off-by: Eli Billauer Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xillybus/xillybus_core.c b/drivers/staging/xillybus/xillybus_core.c index 53ec54264dc4..ffc6f229c97b 100644 --- a/drivers/staging/xillybus/xillybus_core.c +++ b/drivers/staging/xillybus/xillybus_core.c @@ -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); }