Commit 9b0131cb authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Greg Kroah-Hartman

staging/trivial: fix typos concerning "initiali[zs]e"

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 25a606c3
...@@ -726,7 +726,7 @@ static int __devinit et131x_pci_setup(struct pci_dev *pdev, ...@@ -726,7 +726,7 @@ static int __devinit et131x_pci_setup(struct pci_dev *pdev,
/* Initialize link state */ /* Initialize link state */
et131x_link_detection_handler((unsigned long)adapter); et131x_link_detection_handler((unsigned long)adapter);
/* Intialize variable for counting how long we do not have /* Initialize variable for counting how long we do not have
link status */ link status */
adapter->PoMgmt.TransPhyComaModeOnBoot = 0; adapter->PoMgmt.TransPhyComaModeOnBoot = 0;
......
...@@ -671,7 +671,7 @@ static int usb_alphatrack_probe(struct usb_interface *intf, ...@@ -671,7 +671,7 @@ static int usb_alphatrack_probe(struct usb_interface *intf,
int true_size; int true_size;
int retval = -ENOMEM; int retval = -ENOMEM;
/* allocate memory for our device state and intialize it */ /* allocate memory for our device state and initialize it */
dev = kzalloc(sizeof(*dev), GFP_KERNEL); dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (dev == NULL) { if (dev == NULL) {
......
...@@ -795,7 +795,7 @@ static int usb_tranzport_probe(struct usb_interface *intf, ...@@ -795,7 +795,7 @@ static int usb_tranzport_probe(struct usb_interface *intf,
int true_size; int true_size;
int retval = -ENOMEM; int retval = -ENOMEM;
/* allocate memory for our device state and intialize it */ /* allocate memory for our device state and initialize it */
dev = kzalloc(sizeof(*dev), GFP_KERNEL); dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (dev == NULL) { if (dev == NULL) {
......
...@@ -684,7 +684,7 @@ static irqreturn_t pendet_intr_handler(int irq, void *handle) ...@@ -684,7 +684,7 @@ static irqreturn_t pendet_intr_handler(int irq, void *handle)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
/* Intializes input device and registers with input subsystem */ /* Initializes input device and registers with input subsystem */
static int ts_input_dev_init(struct mrstouch_dev *tsdev, struct spi_device *spi) static int ts_input_dev_init(struct mrstouch_dev *tsdev, struct spi_device *spi)
{ {
int err = 0; int err = 0;
......
...@@ -577,7 +577,7 @@ int qt2_open(struct tty_struct *tty, struct usb_serial_port *port) ...@@ -577,7 +577,7 @@ int qt2_open(struct tty_struct *tty, struct usb_serial_port *port)
port0->bulk_in_buffer, port0->bulk_in_buffer,
port0->bulk_in_size, port0->bulk_in_size,
qt2_read_bulk_callback, serial); qt2_read_bulk_callback, serial);
dbg("port0 bulk in URB intialised"); dbg("port0 bulk in URB initialised");
/* submit URB, i.e. start reading from device (async) */ /* submit URB, i.e. start reading from device (async) */
dev_extra->ReadBulkStopped = false; dev_extra->ReadBulkStopped = false;
......
...@@ -704,7 +704,7 @@ void NICReadEEPROMParameters(struct rt_rtmp_adapter *pAd, u8 *mac_addr) ...@@ -704,7 +704,7 @@ void NICReadEEPROMParameters(struct rt_rtmp_adapter *pAd, u8 *mac_addr)
DBGPRINT(RT_DEBUG_TRACE, DBGPRINT(RT_DEBUG_TRACE,
("--> EEPROMAddressNum = %d\n", pAd->EEPROMAddressNum)); ("--> EEPROMAddressNum = %d\n", pAd->EEPROMAddressNum));
/* RT2860 MAC no longer auto load MAC address from E2PROM. Driver has to intialize */ /* RT2860 MAC no longer auto load MAC address from E2PROM. Driver has to initialize */
/* MAC address registers according to E2PROM setting */ /* MAC address registers according to E2PROM setting */
if (mac_addr == NULL || if (mac_addr == NULL ||
strlen((char *)mac_addr) != 17 || strlen((char *)mac_addr) != 17 ||
...@@ -2507,7 +2507,7 @@ void UserCfgInit(struct rt_rtmp_adapter *pAd) ...@@ -2507,7 +2507,7 @@ void UserCfgInit(struct rt_rtmp_adapter *pAd)
DBGPRINT(RT_DEBUG_TRACE, ("--> UserCfgInit\n")); DBGPRINT(RT_DEBUG_TRACE, ("--> UserCfgInit\n"));
/* */ /* */
/* part I. intialize common configuration */ /* part I. initialize common configuration */
/* */ /* */
#ifdef RTMP_MAC_USB #ifdef RTMP_MAC_USB
pAd->BulkOutReq = 0; pAd->BulkOutReq = 0;
...@@ -2646,7 +2646,7 @@ void UserCfgInit(struct rt_rtmp_adapter *pAd) ...@@ -2646,7 +2646,7 @@ void UserCfgInit(struct rt_rtmp_adapter *pAd)
pAd->CommonCfg.BeaconPeriod = 100; /* in mSec */ pAd->CommonCfg.BeaconPeriod = 100; /* in mSec */
/* */ /* */
/* part II. intialize STA specific configuration */ /* part II. initialize STA specific configuration */
/* */ /* */
{ {
RX_FILTER_SET_FLAG(pAd, fRX_FILTER_ACCEPT_DIRECT); RX_FILTER_SET_FLAG(pAd, fRX_FILTER_ACCEPT_DIRECT);
......
/* /*
* Procedure: Init boot code/firmware code/data session * Procedure: Init boot code/firmware code/data session
* *
* Description: This routine will intialize firmware. If any error occurs * Description: This routine will initialize firmware. If any error occurs
* during the initialization process, the routine shall terminate * during the initialization process, the routine shall terminate
* immediately and return fail. NIC driver should call * immediately and return fail. NIC driver should call
* NdisOpenFile only from MiniportInitialize. * NdisOpenFile only from MiniportInitialize.
......
...@@ -1534,7 +1534,7 @@ static void rtl8192_tx_isr(struct urb *tx_urb) ...@@ -1534,7 +1534,7 @@ static void rtl8192_tx_isr(struct urb *tx_urb)
* 1. check whether there's tx irq available, for it's a completion return * 1. check whether there's tx irq available, for it's a completion return
* function, it should contain enough tx irq; * function, it should contain enough tx irq;
* 2. check pakcet type; * 2. check pakcet type;
* 3. intialize sendlist, check whether the to-be send packet no greater than 1 * 3. initialize sendlist, check whether the to-be send packet no greater than 1
* 4. aggregation the packets, and fill firmware info and tx desc to it, etc. * 4. aggregation the packets, and fill firmware info and tx desc to it, etc.
* 5. check whehter the packet could be sent, otherwise just insert to wait head * 5. check whehter the packet could be sent, otherwise just insert to wait head
* */ * */
......
/************************************************************************************************** /**************************************************************************************************
* Procedure: Init boot code/firmware code/data session * Procedure: Init boot code/firmware code/data session
* *
* Description: This routine will intialize firmware. If any error occurs during the initialization * Description: This routine will initialize firmware. If any error occurs during the initialization
* process, the routine shall terminate immediately and return fail. * process, the routine shall terminate immediately and return fail.
* NIC driver should call NdisOpenFile only from MiniportInitialize. * NIC driver should call NdisOpenFile only from MiniportInitialize.
* *
......
...@@ -193,7 +193,7 @@ struct process_context { ...@@ -193,7 +193,7 @@ struct process_context {
* Ensures: * Ensures:
* 0: - *drv_obj is a valid DRV interface to the device. * 0: - *drv_obj is a valid DRV interface to the device.
* - List of DevObject Created and Initialized. * - List of DevObject Created and Initialized.
* - List of dev_node String created and intialized. * - List of dev_node String created and initialized.
* - Registry is updated with the DRV Object. * - Registry is updated with the DRV Object.
* !0: DRV Object not created * !0: DRV Object not created
* Details: * Details:
......
...@@ -192,7 +192,7 @@ extern int mgr_get_dcd_handle(struct mgr_object ...@@ -192,7 +192,7 @@ extern int mgr_get_dcd_handle(struct mgr_object
* ======== mgr_init ======== * ======== mgr_init ========
* Purpose: * Purpose:
* Initialize MGR's private state, keeping a reference count on each * Initialize MGR's private state, keeping a reference count on each
* call. Intializes the DCD. * call. Initializes the DCD.
* Parameters: * Parameters:
* Returns: * Returns:
* TRUE if initialized; FALSE if error occured. * TRUE if initialized; FALSE if error occured.
......
...@@ -44,7 +44,7 @@ struct dsp_wdt_setting { ...@@ -44,7 +44,7 @@ struct dsp_wdt_setting {
/** /**
* dsp_wdt_init() - initialize wdt3 module. * dsp_wdt_init() - initialize wdt3 module.
* *
* This function initilize to wdt3 module, so that * This function initialize to wdt3 module, so that
* other wdt3 function can be used. * other wdt3 function can be used.
*/ */
int dsp_wdt_init(void); int dsp_wdt_init(void);
......
...@@ -450,7 +450,7 @@ int wl_insert( struct net_device *dev ) ...@@ -450,7 +450,7 @@ int wl_insert( struct net_device *dev )
/* Initialize the adapter parameters. */ /* Initialize the adapter parameters. */
spin_lock_init( &( lp->slock )); spin_lock_init( &( lp->slock ));
/* Intialize states */ /* Initialize states */
//lp->lockcount = 0; //PE1DNN //lp->lockcount = 0; //PE1DNN
lp->is_handling_int = WL_NOT_HANDLING_INT; lp->is_handling_int = WL_NOT_HANDLING_INT;
lp->firmware_present = WL_FRIMWARE_NOT_PRESENT; lp->firmware_present = WL_FRIMWARE_NOT_PRESENT;
......
...@@ -511,7 +511,7 @@ static void hfa384x_usb_defer(struct work_struct *data) ...@@ -511,7 +511,7 @@ static void hfa384x_usb_defer(struct work_struct *data)
* hfa384x_create * hfa384x_create
* *
* Sets up the hfa384x_t data structure for use. Note this * Sets up the hfa384x_t data structure for use. Note this
* does _not_ intialize the actual hardware, just the data structures * does _not_ initialize the actual hardware, just the data structures
* we use to keep track of its state. * we use to keep track of its state.
* *
* Arguments: * Arguments:
......
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