Commit 47fda1a7 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

irda: w83977af_ir: Remove and add blank lines

Use a more typical vertical spacing style.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8a3fb40d
...@@ -178,7 +178,6 @@ static int w83977af_open(int i, unsigned int iobase, unsigned int irq, ...@@ -178,7 +178,6 @@ static int w83977af_open(int i, unsigned int iobase, unsigned int irq,
self = netdev_priv(dev); self = netdev_priv(dev);
spin_lock_init(&self->lock); spin_lock_init(&self->lock);
/* Initialize IO */ /* Initialize IO */
self->io.fir_base = iobase; self->io.fir_base = iobase;
self->io.irq = irq; self->io.irq = irq;
...@@ -553,6 +552,7 @@ static netdev_tx_t w83977af_hard_xmit(struct sk_buff *skb, ...@@ -553,6 +552,7 @@ static netdev_tx_t w83977af_hard_xmit(struct sk_buff *skb,
static void w83977af_dma_write(struct w83977af_ir *self, int iobase) static void w83977af_dma_write(struct w83977af_ir *self, int iobase)
{ {
__u8 set; __u8 set;
pr_debug("%s(), len=%d\n", __func__, self->tx_buff.len); pr_debug("%s(), len=%d\n", __func__, self->tx_buff.len);
/* Save current set */ /* Save current set */
...@@ -652,7 +652,6 @@ static void w83977af_dma_xmit_complete(struct w83977af_ir *self) ...@@ -652,7 +652,6 @@ static void w83977af_dma_xmit_complete(struct w83977af_ir *self)
} else } else
self->netdev->stats.tx_packets++; self->netdev->stats.tx_packets++;
if (self->new_speed) { if (self->new_speed) {
w83977af_change_speed(self, self->new_speed); w83977af_change_speed(self, self->new_speed);
self->new_speed = 0; self->new_speed = 0;
...@@ -1114,7 +1113,6 @@ static int w83977af_net_open(struct net_device *dev) ...@@ -1114,7 +1113,6 @@ static int w83977af_net_open(struct net_device *dev)
char hwname[32]; char hwname[32];
__u8 set; __u8 set;
IRDA_ASSERT(dev != NULL, return -1;); IRDA_ASSERT(dev != NULL, return -1;);
self = netdev_priv(dev); self = netdev_priv(dev);
...@@ -1263,7 +1261,6 @@ MODULE_AUTHOR("Dag Brattli <dagb@cs.uit.no>"); ...@@ -1263,7 +1261,6 @@ MODULE_AUTHOR("Dag Brattli <dagb@cs.uit.no>");
MODULE_DESCRIPTION("Winbond W83977AF IrDA Device Driver"); MODULE_DESCRIPTION("Winbond W83977AF IrDA Device Driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_param(qos_mtt_bits, int, 0); module_param(qos_mtt_bits, int, 0);
MODULE_PARM_DESC(qos_mtt_bits, "Mimimum Turn Time"); MODULE_PARM_DESC(qos_mtt_bits, "Mimimum Turn Time");
module_param_array(io, int, NULL, 0); module_param_array(io, int, NULL, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment