libertas: kill whitespace at end of lines
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 15 Dec 2007 03:53:41 +0000 (22:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:28 +0000 (15:07 -0800)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/cmd.h
drivers/net/wireless/libertas/debugfs.c
drivers/net/wireless/libertas/if_sdio.c
drivers/net/wireless/libertas/if_usb.c
drivers/net/wireless/libertas/main.c
drivers/net/wireless/libertas/tx.c

index 171acc27ffba33e9599b65bc110983552b140656..ffef7212621e066d92f0cdd1b69ee0099481a59d 100644 (file)
@@ -1122,7 +1122,7 @@ int lbs_mesh_config(struct lbs_private *priv, uint16_t enable, uint16_t chan)
        cmd.action = cpu_to_le16(enable);
        cmd.channel = cpu_to_le16(chan);
        cmd.type = cpu_to_le16(priv->mesh_tlv);
-       
+
        if (enable) {
                cmd.length = cpu_to_le16(priv->mesh_ssid_len);
                memcpy(cmd.data, priv->mesh_ssid, priv->mesh_ssid_len);
index a4aaa6b34a70908099d1edb2288eaad3440b49d2..999fabe5964b58cbcff162e62afb8a5ef9f67d10 100644 (file)
@@ -11,9 +11,9 @@
 
 #define lbs_cmd_with_response(priv, cmdnr, cmd)        \
        lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd))
+
 int __lbs_cmd(struct lbs_private *priv, uint16_t command,
-             struct cmd_header *in_cmd, int in_cmd_size, 
+             struct cmd_header *in_cmd, int in_cmd_size,
              int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *),
              unsigned long callback_arg);
 
index c5130a2581fef113b4acf9ab86fb6de722497536..f27815967142f875733730ad0e9f702972fad135 100644 (file)
@@ -296,7 +296,7 @@ static ssize_t lbs_setuserscan(struct file *file,
 
        if (!buf)
                return -ENOMEM;
-               
+
        buf_size = min(count, len - 1);
        if (copy_from_user(buf, userbuf, buf_size)) {
                res = -EFAULT;
index 7f829c86c45d8158a15eefcf9d8230d3dfb22dd0..9225546b9d487da04f18469f76c2660f4a88f088 100644 (file)
@@ -19,7 +19,7 @@
  * current block size.
  *
  * As SDIO is still new to the kernel, it is unfortunately common with
- * bugs in the host controllers related to that. One such bug is that 
+ * bugs in the host controllers related to that. One such bug is that
  * controllers cannot do transfers that aren't a multiple of 4 bytes.
  * If you don't have time to fix the host controller driver, you can
  * work around the problem by modifying if_sdio_host_to_card() and
index 9cb9e031040d803c25953a51ce51a51c48f28dee..396ce676cad72a79a6bb0cf8e28320e46eaffb85 100644 (file)
@@ -152,7 +152,7 @@ static int if_usb_probe(struct usb_interface *intf,
 
        setup_timer(&cardp->fw_timeout, if_usb_fw_timeo, (unsigned long)cardp);
        init_waitqueue_head(&cardp->fw_wq);
-                                                                    
+
        cardp->udev = udev;
        iface_desc = intf->cur_altsetting;
 
@@ -871,7 +871,7 @@ restart:
 
        /* ... and wait for the process to complete */
        wait_event_interruptible(cardp->fw_wq, cardp->surprise_removed || cardp->fwdnldover);
-       
+
        del_timer_sync(&cardp->fw_timeout);
        usb_kill_urb(cardp->rx_urb);
 
index b51513fb59ecd80f902a01c4b82ca2eb3e932aa4..0dc7de6a067b23e748703aa2ee408d78ac3761f4 100644 (file)
@@ -255,7 +255,7 @@ static int lbs_add_rtap(struct lbs_private *priv);
 static void lbs_remove_rtap(struct lbs_private *priv);
 static int lbs_add_mesh(struct lbs_private *priv);
 static void lbs_remove_mesh(struct lbs_private *priv);
-  
+
 
 /**
  * Get function for sysfs attribute rtap
@@ -347,7 +347,7 @@ static ssize_t lbs_mesh_set(struct device *dev,
        ret = lbs_mesh_config(priv, enable, priv->curbssparams.channel);
        if (ret)
                return ret;
-               
+
        if (enable)
                lbs_add_mesh(priv);
        else
@@ -401,7 +401,7 @@ static int lbs_dev_open(struct net_device *dev)
                netif_carrier_on(dev);
        } else {
                priv->infra_open = 1;
-               
+
                if (priv->connect_status == LBS_CONNECTED)
                        netif_carrier_on(dev);
                else
@@ -433,7 +433,7 @@ static int lbs_mesh_stop(struct net_device *dev)
 
        netif_stop_queue(dev);
        netif_carrier_off(dev);
-       
+
        spin_unlock_irq(&priv->driver_lock);
        return 0;
 }
@@ -453,7 +453,7 @@ static int lbs_eth_stop(struct net_device *dev)
        priv->infra_open = 0;
 
        netif_stop_queue(dev);
-       
+
        spin_unlock_irq(&priv->driver_lock);
        return 0;
 }
@@ -850,7 +850,7 @@ int lbs_suspend(struct lbs_private *priv)
        }
 
        memset(&cmd, 0, sizeof(cmd));
-       
+
        ret = __lbs_cmd(priv, CMD_802_11_HOST_SLEEP_ACTIVATE, &cmd,
                        sizeof(cmd), lbs_suspend_callback, 0);
        if (ret)
@@ -1180,7 +1180,7 @@ int lbs_start_card(struct lbs_private *priv)
        /* Enable mesh, if supported, and work out which TLV it uses.
           0x100 + 291 is an unofficial value used in 5.110.20.pXX
           0x100 + 37 is the official value used in 5.110.21.pXX
-          but we check them in that order because 20.pXX doesn't 
+          but we check them in that order because 20.pXX doesn't
           give an error -- it just silently fails. */
 
        /* 5.110.20.pXX firmware will fail the command if the channel
index 8a1a3965f1c57054d948be7de1afcc2f75c1a221..00d95f75bd890603d814e4f54e5dff982cae96dd 100644 (file)
@@ -93,8 +93,8 @@ int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
                netif_stop_queue(priv->mesh_dev);
 
        if (priv->tx_pending_len) {
-               /* This can happen if packets come in on the mesh and eth 
-                  device simultaneously -- there's no mutual exclusion on 
+               /* This can happen if packets come in on the mesh and eth
+                  device simultaneously -- there's no mutual exclusion on
                   hard_start_xmit() calls between devices. */
                lbs_deb_tx("Packet on %s while busy\n", dev->name);
                ret = NETDEV_TX_BUSY;