]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
staging/trivial: fix typos concerning "initiali[zs]e"
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 11 Jun 2010 10:17:03 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jun 2010 21:58:01 +0000 (14:58 -0700)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/usbdux.c
drivers/staging/octeon/cvmx-cmd-queue.c
drivers/staging/pohmelfs/inode.c
drivers/staging/rt2860/common/cmm_wpa.c
drivers/staging/rtl8192e/r8190_rtl8256.c

index 27b4cb2e2ec2924928b44089c92dc61ee9bab87a..7b8a2da344b8d64ebfedfd1a40999f89cb84ab35 100644 (file)
@@ -2085,7 +2085,7 @@ static int usbdux_pwm_start(struct comedi_device *dev,
        if (ret < 0)
                return ret;
 
-       /* initalise the buffer */
+       /* initialise the buffer */
        for (i = 0; i < this_usbduxsub->sizePwmBuf; i++)
                ((char *)(this_usbduxsub->urbPwm->transfer_buffer))[i] = 0;
 
index 976227b01273605542485fe575320fb03b2c1f52..e9809d375162b0870f2830583720b1da0126b5de 100644 (file)
@@ -140,21 +140,21 @@ cvmx_cmd_queue_result_t cvmx_cmd_queue_initialize(cvmx_cmd_queue_id_t queue_id,
        if (qstate->base_ptr_div128) {
                if (max_depth != (int)qstate->max_depth) {
                        cvmx_dprintf("ERROR: cvmx_cmd_queue_initialize: "
-                               "Queue already initalized with different "
+                               "Queue already initialized with different "
                                "max_depth (%d).\n",
                             (int)qstate->max_depth);
                        return CVMX_CMD_QUEUE_INVALID_PARAM;
                }
                if (fpa_pool != qstate->fpa_pool) {
                        cvmx_dprintf("ERROR: cvmx_cmd_queue_initialize: "
-                               "Queue already initalized with different "
+                               "Queue already initialized with different "
                                "FPA pool (%u).\n",
                             qstate->fpa_pool);
                        return CVMX_CMD_QUEUE_INVALID_PARAM;
                }
                if ((pool_size >> 3) - 1 != qstate->pool_size_m1) {
                        cvmx_dprintf("ERROR: cvmx_cmd_queue_initialize: "
-                               "Queue already initalized with different "
+                               "Queue already initialized with different "
                                "FPA pool size (%u).\n",
                             (qstate->pool_size_m1 + 1) << 3);
                        return CVMX_CMD_QUEUE_INVALID_PARAM;
index 20b0c68aaa56059212e7a51a5666f2b33a19ae70..0c238b22c8a24326ed82350eaa268975b38d3eba 100644 (file)
@@ -847,7 +847,7 @@ static void pohmelfs_destroy_inode(struct inode *inode)
 }
 
 /*
- * ->alloc_inode() callback. Allocates inode and initilizes private data.
+ * ->alloc_inode() callback. Allocates inode and initializes private data.
  */
 static struct inode *pohmelfs_alloc_inode(struct super_block *sb)
 {
index c16f3763cca66ec4e4b57966be08c4cced987152..9414aa344375e1a9c570b3fd8f71ff39cf9dfce6 100644 (file)
@@ -427,7 +427,7 @@ void RTMPToWirelessSta(struct rt_rtmp_adapter *pAd,
 /*
     ==========================================================================
     Description:
-        This is a function to initilize 4-way handshake
+        This is a function to initialize 4-way handshake
 
     Return:
 
@@ -867,7 +867,7 @@ void PeerPairMsg3Action(struct rt_rtmp_adapter *pAd,
     ==========================================================================
     Description:
         When receiving the last packet of 4-way pairwisekey handshake.
-        Initilize 2-way groupkey handshake following.
+        Initialize 2-way groupkey handshake following.
     Return:
     ==========================================================================
 */
index 7391f5f8f25f823ac47a2d8fb56c8471eb78fd24..8bd5b173a7d2127398c92f069716e6fd4582811c 100644 (file)
@@ -501,13 +501,13 @@ SetRFPowerState8190(
                                if((priv->ieee80211->eRFPowerState == eRfOff) && RT_IN_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC))
                                { // The current RF state is OFF and the RF OFF level is halting the NIC, re-initialize the NIC.
                                        bool rtstatus = true;
-                                       u32 InitilizeCount = 3;
+                                       u32 InitializeCount = 3;
                                        do
                                        {
-                                               InitilizeCount--;
+                                               InitializeCount--;
                                                priv->RegRfOff = false;
                                                rtstatus = NicIFEnableNIC(dev);
-                                       }while( (rtstatus != true) &&(InitilizeCount >0) );
+                                       }while( (rtstatus != true) &&(InitializeCount >0) );
 
                                        if(rtstatus != true)
                                        {