mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
staging/trivial: fix typos concerning "initiali[zs]e"
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
25a606c36a
commit
9b0131cb24
@ -726,7 +726,7 @@ static int __devinit et131x_pci_setup(struct pci_dev *pdev,
|
||||
/* Initialize link state */
|
||||
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 */
|
||||
adapter->PoMgmt.TransPhyComaModeOnBoot = 0;
|
||||
|
||||
|
@ -671,7 +671,7 @@ static int usb_alphatrack_probe(struct usb_interface *intf,
|
||||
int true_size;
|
||||
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);
|
||||
if (dev == NULL) {
|
||||
|
@ -795,7 +795,7 @@ static int usb_tranzport_probe(struct usb_interface *intf,
|
||||
int true_size;
|
||||
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);
|
||||
if (dev == NULL) {
|
||||
|
@ -684,7 +684,7 @@ static irqreturn_t pendet_intr_handler(int irq, void *handle)
|
||||
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)
|
||||
{
|
||||
int err = 0;
|
||||
|
@ -577,7 +577,7 @@ int qt2_open(struct tty_struct *tty, struct usb_serial_port *port)
|
||||
port0->bulk_in_buffer,
|
||||
port0->bulk_in_size,
|
||||
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) */
|
||||
dev_extra->ReadBulkStopped = false;
|
||||
|
@ -704,7 +704,7 @@ void NICReadEEPROMParameters(struct rt_rtmp_adapter *pAd, u8 *mac_addr)
|
||||
DBGPRINT(RT_DEBUG_TRACE,
|
||||
("--> 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 */
|
||||
if (mac_addr == NULL ||
|
||||
strlen((char *)mac_addr) != 17 ||
|
||||
@ -2507,7 +2507,7 @@ void UserCfgInit(struct rt_rtmp_adapter *pAd)
|
||||
DBGPRINT(RT_DEBUG_TRACE, ("--> UserCfgInit\n"));
|
||||
|
||||
/* */
|
||||
/* part I. intialize common configuration */
|
||||
/* part I. initialize common configuration */
|
||||
/* */
|
||||
#ifdef RTMP_MAC_USB
|
||||
pAd->BulkOutReq = 0;
|
||||
@ -2646,7 +2646,7 @@ void UserCfgInit(struct rt_rtmp_adapter *pAd)
|
||||
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);
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* 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
|
||||
* immediately and return fail. NIC driver should call
|
||||
* NdisOpenFile only from MiniportInitialize.
|
||||
|
@ -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
|
||||
* function, it should contain enough tx irq;
|
||||
* 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.
|
||||
* 5. check whehter the packet could be sent, otherwise just insert to wait head
|
||||
* */
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**************************************************************************************************
|
||||
* 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.
|
||||
* NIC driver should call NdisOpenFile only from MiniportInitialize.
|
||||
*
|
||||
|
@ -193,7 +193,7 @@ struct process_context {
|
||||
* Ensures:
|
||||
* 0: - *drv_obj is a valid DRV interface to the device.
|
||||
* - 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.
|
||||
* !0: DRV Object not created
|
||||
* Details:
|
||||
|
@ -192,7 +192,7 @@ extern int mgr_get_dcd_handle(struct mgr_object
|
||||
* ======== mgr_init ========
|
||||
* Purpose:
|
||||
* Initialize MGR's private state, keeping a reference count on each
|
||||
* call. Intializes the DCD.
|
||||
* call. Initializes the DCD.
|
||||
* Parameters:
|
||||
* Returns:
|
||||
* TRUE if initialized; FALSE if error occured.
|
||||
|
@ -44,7 +44,7 @@ struct dsp_wdt_setting {
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
int dsp_wdt_init(void);
|
||||
|
@ -450,7 +450,7 @@ int wl_insert( struct net_device *dev )
|
||||
/* Initialize the adapter parameters. */
|
||||
spin_lock_init( &( lp->slock ));
|
||||
|
||||
/* Intialize states */
|
||||
/* Initialize states */
|
||||
//lp->lockcount = 0; //PE1DNN
|
||||
lp->is_handling_int = WL_NOT_HANDLING_INT;
|
||||
lp->firmware_present = WL_FRIMWARE_NOT_PRESENT;
|
||||
|
@ -511,7 +511,7 @@ static void hfa384x_usb_defer(struct work_struct *data)
|
||||
* hfa384x_create
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Arguments:
|
||||
|
Loading…
Reference in New Issue
Block a user