summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-02-27 17:29:20 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-27 21:43:47 -0500
commit183b8021fc0a5fadecdf9c0ccac1f48b5c326278 (patch)
tree8cdf94bb0b8b9cce04fe10c64fc68ca6629a846c
parent4d39f0ac8e5aeaa5e56c2d2a0f737ac8bb826bca (diff)
scripts/spelling.txt: add "intialization" pattern and fix typo instances
Fix typos and add the following to the scripts/spelling.txt: intialization||initialization The "inintialization" in drivers/acpi/spcr.c is a different pattern but I fixed it as well in this commit. Link: http://lkml.kernel.org/r/1481573103-11329-16-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/arm/mach-omap2/omap_twl.c2
-rw-r--r--drivers/acpi/spcr.c2
-rw-r--r--drivers/firewire/core-device.c4
-rw-r--r--drivers/mmc/host/mmci_qcom_dml.c2
-rw-r--r--drivers/net/wireless/intel/ipw2x00/ipw2100.c4
-rw-r--r--drivers/net/wireless/intel/ipw2x00/ipw2200.c2
-rw-r--r--drivers/net/wireless/ti/wlcore/init.c2
-rw-r--r--drivers/power/avs/smartreflex.c6
-rw-r--r--drivers/scsi/ipr.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c14
-rw-r--r--drivers/scsi/scsi_transport_sas.c2
-rw-r--r--drivers/scsi/storvsc_drv.c2
-rw-r--r--drivers/usb/gadget/udc/fsl_udc_core.c4
-rw-r--r--scripts/spelling.txt1
-rw-r--r--sound/soc/qcom/lpass.h2
-rw-r--r--sound/soc/soc-topology.c4
16 files changed, 28 insertions, 27 deletions
diff --git a/arch/arm/mach-omap2/omap_twl.c b/arch/arm/mach-omap2/omap_twl.c
index 6bf626700557..1346b3ab34a5 100644
--- a/arch/arm/mach-omap2/omap_twl.c
+++ b/arch/arm/mach-omap2/omap_twl.c
@@ -1,5 +1,5 @@
1/** 1/**
2 * OMAP and TWL PMIC specific intializations. 2 * OMAP and TWL PMIC specific initializations.
3 * 3 *
4 * Copyright (C) 2010 Texas Instruments Incorporated. 4 * Copyright (C) 2010 Texas Instruments Incorporated.
5 * Thara Gopinath 5 * Thara Gopinath
diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c
index 2b5d0fac81f0..01c94669a2b0 100644
--- a/drivers/acpi/spcr.c
+++ b/drivers/acpi/spcr.c
@@ -46,7 +46,7 @@ static bool qdf2400_erratum_44_present(struct acpi_table_header *h)
46 * console is registered and if @earlycon is true, earlycon is set up. 46 * console is registered and if @earlycon is true, earlycon is set up.
47 * 47 *
48 * When CONFIG_ACPI_SPCR_TABLE is defined, this function should be called 48 * When CONFIG_ACPI_SPCR_TABLE is defined, this function should be called
49 * from arch inintialization code as soon as the DT/ACPI decision is made. 49 * from arch initialization code as soon as the DT/ACPI decision is made.
50 * 50 *
51 */ 51 */
52int __init parse_spcr(bool earlycon) 52int __init parse_spcr(bool earlycon)
diff --git a/drivers/firewire/core-device.c b/drivers/firewire/core-device.c
index f9e3aee6a211..7c2eed76011e 100644
--- a/drivers/firewire/core-device.c
+++ b/drivers/firewire/core-device.c
@@ -1068,7 +1068,7 @@ static void fw_device_init(struct work_struct *work)
1068 1068
1069 /* 1069 /*
1070 * Transition the device to running state. If it got pulled 1070 * Transition the device to running state. If it got pulled
1071 * out from under us while we did the intialization work, we 1071 * out from under us while we did the initialization work, we
1072 * have to shut down the device again here. Normally, though, 1072 * have to shut down the device again here. Normally, though,
1073 * fw_node_event will be responsible for shutting it down when 1073 * fw_node_event will be responsible for shutting it down when
1074 * necessary. We have to use the atomic cmpxchg here to avoid 1074 * necessary. We have to use the atomic cmpxchg here to avoid
@@ -1231,7 +1231,7 @@ void fw_node_event(struct fw_card *card, struct fw_node *node, int event)
1231 break; 1231 break;
1232 1232
1233 /* 1233 /*
1234 * Do minimal intialization of the device here, the 1234 * Do minimal initialization of the device here, the
1235 * rest will happen in fw_device_init(). 1235 * rest will happen in fw_device_init().
1236 * 1236 *
1237 * Attention: A lot of things, even fw_device_get(), 1237 * Attention: A lot of things, even fw_device_get(),
diff --git a/drivers/mmc/host/mmci_qcom_dml.c b/drivers/mmc/host/mmci_qcom_dml.c
index 2b7fc3764803..00750c9d3514 100644
--- a/drivers/mmc/host/mmci_qcom_dml.c
+++ b/drivers/mmc/host/mmci_qcom_dml.c
@@ -170,7 +170,7 @@ int dml_hw_init(struct mmci_host *host, struct device_node *np)
170 writel_relaxed(producer_id | (consumer_id << CONSUMER_PIPE_ID_SHFT), 170 writel_relaxed(producer_id | (consumer_id << CONSUMER_PIPE_ID_SHFT),
171 base + DML_PIPE_ID); 171 base + DML_PIPE_ID);
172 172
173 /* Make sure dml intialization is finished */ 173 /* Make sure dml initialization is finished */
174 mb(); 174 mb();
175 175
176 return 0; 176 return 0;
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
index 356aba9d3d53..96f18222950a 100644
--- a/drivers/net/wireless/intel/ipw2x00/ipw2100.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
@@ -1238,7 +1238,7 @@ static int ipw2100_get_hw_features(struct ipw2100_priv *priv)
1238} 1238}
1239 1239
1240/* 1240/*
1241 * Start firmware execution after power on and intialization 1241 * Start firmware execution after power on and initialization
1242 * The sequence is: 1242 * The sequence is:
1243 * 1. Release ARC 1243 * 1. Release ARC
1244 * 2. Wait for f/w initialization completes; 1244 * 2. Wait for f/w initialization completes;
@@ -1277,7 +1277,7 @@ static int ipw2100_start_adapter(struct ipw2100_priv *priv)
1277 /* Release ARC - clear reset bit */ 1277 /* Release ARC - clear reset bit */
1278 write_register(priv->net_dev, IPW_REG_RESET_REG, 0); 1278 write_register(priv->net_dev, IPW_REG_RESET_REG, 0);
1279 1279
1280 /* wait for f/w intialization complete */ 1280 /* wait for f/w initialization complete */
1281 IPW_DEBUG_FW("Waiting for f/w initialization to complete...\n"); 1281 IPW_DEBUG_FW("Waiting for f/w initialization to complete...\n");
1282 i = 5000; 1282 i = 5000;
1283 do { 1283 do {
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2200.c b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
index ef9af8a29cad..c09215de6d53 100644
--- a/drivers/net/wireless/intel/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
@@ -5196,7 +5196,7 @@ static void ipw_rx_queue_restock(struct ipw_priv *priv)
5196 * Move all used packet from rx_used to rx_free, allocating a new SKB for each. 5196 * Move all used packet from rx_used to rx_free, allocating a new SKB for each.
5197 * Also restock the Rx queue via ipw_rx_queue_restock. 5197 * Also restock the Rx queue via ipw_rx_queue_restock.
5198 * 5198 *
5199 * This is called as a scheduled work item (except for during intialization) 5199 * This is called as a scheduled work item (except for during initialization)
5200 */ 5200 */
5201static void ipw_rx_queue_replenish(void *data) 5201static void ipw_rx_queue_replenish(void *data)
5202{ 5202{
diff --git a/drivers/net/wireless/ti/wlcore/init.c b/drivers/net/wireless/ti/wlcore/init.c
index d0b7734030ef..58898b99d3f7 100644
--- a/drivers/net/wireless/ti/wlcore/init.c
+++ b/drivers/net/wireless/ti/wlcore/init.c
@@ -544,7 +544,7 @@ static int wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif)
544 return 0; 544 return 0;
545} 545}
546 546
547/* vif-specific intialization */ 547/* vif-specific initialization */
548static int wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) 548static int wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif)
549{ 549{
550 int ret; 550 int ret;
diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c
index fa0f19b975a6..974fd684bab2 100644
--- a/drivers/power/avs/smartreflex.c
+++ b/drivers/power/avs/smartreflex.c
@@ -195,7 +195,7 @@ static void sr_stop_vddautocomp(struct omap_sr *sr)
195} 195}
196 196
197/* 197/*
198 * This function handles the intializations which have to be done 198 * This function handles the initializations which have to be done
199 * only when both sr device and class driver regiter has 199 * only when both sr device and class driver regiter has
200 * completed. This will be attempted to be called from both sr class 200 * completed. This will be attempted to be called from both sr class
201 * driver register and sr device intializtion API's. Only one call 201 * driver register and sr device intializtion API's. Only one call
@@ -671,7 +671,7 @@ int sr_register_class(struct omap_sr_class_data *class_data)
671 sr_class = class_data; 671 sr_class = class_data;
672 672
673 /* 673 /*
674 * Call into late init to do intializations that require 674 * Call into late init to do initializations that require
675 * both sr driver and sr class driver to be initiallized. 675 * both sr driver and sr class driver to be initiallized.
676 */ 676 */
677 list_for_each_entry(sr_info, &sr_list, node) 677 list_for_each_entry(sr_info, &sr_list, node)
@@ -899,7 +899,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
899 list_add(&sr_info->node, &sr_list); 899 list_add(&sr_info->node, &sr_list);
900 900
901 /* 901 /*
902 * Call into late init to do intializations that require 902 * Call into late init to do initializations that require
903 * both sr driver and sr class driver to be initiallized. 903 * both sr driver and sr class driver to be initiallized.
904 */ 904 */
905 if (sr_class) { 905 if (sr_class) {
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 835c59c777f2..b29afafc2885 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -9330,7 +9330,7 @@ static pci_ers_result_t ipr_pci_error_detected(struct pci_dev *pdev,
9330 * ipr_probe_ioa_part2 - Initializes IOAs found in ipr_probe_ioa(..) 9330 * ipr_probe_ioa_part2 - Initializes IOAs found in ipr_probe_ioa(..)
9331 * @ioa_cfg: ioa cfg struct 9331 * @ioa_cfg: ioa cfg struct
9332 * 9332 *
9333 * Description: This is the second phase of adapter intialization 9333 * Description: This is the second phase of adapter initialization
9334 * This function takes care of initilizing the adapter to the point 9334 * This function takes care of initilizing the adapter to the point
9335 * where it can accept new commands. 9335 * where it can accept new commands.
9336 9336
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index d977a472f89f..9ec3d5be5aa0 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -4510,7 +4510,7 @@ lpfc_sli4_rb_setup(struct lpfc_hba *phba)
4510 * @phba: Pointer to HBA context object. 4510 * @phba: Pointer to HBA context object.
4511 * @sli_mode: sli mode - 2/3 4511 * @sli_mode: sli mode - 2/3
4512 * 4512 *
4513 * This function is called by the sli intialization code path 4513 * This function is called by the sli initialization code path
4514 * to issue config_port mailbox command. This function restarts the 4514 * to issue config_port mailbox command. This function restarts the
4515 * HBA firmware and issues a config_port mailbox command to configure 4515 * HBA firmware and issues a config_port mailbox command to configure
4516 * the SLI interface in the sli mode specified by sli_mode 4516 * the SLI interface in the sli mode specified by sli_mode
@@ -4650,11 +4650,11 @@ do_prep_failed:
4650 4650
4651 4651
4652/** 4652/**
4653 * lpfc_sli_hba_setup - SLI intialization function 4653 * lpfc_sli_hba_setup - SLI initialization function
4654 * @phba: Pointer to HBA context object. 4654 * @phba: Pointer to HBA context object.
4655 * 4655 *
4656 * This function is the main SLI intialization function. This function 4656 * This function is the main SLI initialization function. This function
4657 * is called by the HBA intialization code, HBA reset code and HBA 4657 * is called by the HBA initialization code, HBA reset code and HBA
4658 * error attention handler code. Caller is not required to hold any 4658 * error attention handler code. Caller is not required to hold any
4659 * locks. This function issues config_port mailbox command to configure 4659 * locks. This function issues config_port mailbox command to configure
4660 * the SLI, setup iocb rings and HBQ rings. In the end the function 4660 * the SLI, setup iocb rings and HBQ rings. In the end the function
@@ -6324,11 +6324,11 @@ lpfc_set_host_data(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox)
6324} 6324}
6325 6325
6326/** 6326/**
6327 * lpfc_sli4_hba_setup - SLI4 device intialization PCI function 6327 * lpfc_sli4_hba_setup - SLI4 device initialization PCI function
6328 * @phba: Pointer to HBA context object. 6328 * @phba: Pointer to HBA context object.
6329 * 6329 *
6330 * This function is the main SLI4 device intialization PCI function. This 6330 * This function is the main SLI4 device initialization PCI function. This
6331 * function is called by the HBA intialization code, HBA reset code and 6331 * function is called by the HBA initialization code, HBA reset code and
6332 * HBA error attention handler code. Caller is not required to hold any 6332 * HBA error attention handler code. Caller is not required to hold any
6333 * locks. 6333 * locks.
6334 **/ 6334 **/
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c
index f94535130a34..cdbb293aca08 100644
--- a/drivers/scsi/scsi_transport_sas.c
+++ b/drivers/scsi/scsi_transport_sas.c
@@ -1475,7 +1475,7 @@ static void sas_end_device_release(struct device *dev)
1475} 1475}
1476 1476
1477/** 1477/**
1478 * sas_rphy_initialize - common rphy intialization 1478 * sas_rphy_initialize - common rphy initialization
1479 * @rphy: rphy to initialise 1479 * @rphy: rphy to initialise
1480 * 1480 *
1481 * Used by both sas_end_device_alloc() and sas_expander_alloc() to 1481 * Used by both sas_end_device_alloc() and sas_expander_alloc() to
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 585e54f6512c..638e5f427c90 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -280,7 +280,7 @@ static const struct vmstor_protocol vmstor_protocols[] = {
280 280
281 281
282/* 282/*
283 * This structure is sent during the intialization phase to get the different 283 * This structure is sent during the initialization phase to get the different
284 * properties of the channel. 284 * properties of the channel.
285 */ 285 */
286 286
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c
index 2e41ef36b944..b76fcdb763a0 100644
--- a/drivers/usb/gadget/udc/fsl_udc_core.c
+++ b/drivers/usb/gadget/udc/fsl_udc_core.c
@@ -520,7 +520,7 @@ static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num,
520/* Setup qh structure and ep register for ep0. */ 520/* Setup qh structure and ep register for ep0. */
521static void ep0_setup(struct fsl_udc *udc) 521static void ep0_setup(struct fsl_udc *udc)
522{ 522{
523 /* the intialization of an ep includes: fields in QH, Regs, 523 /* the initialization of an ep includes: fields in QH, Regs,
524 * fsl_ep struct */ 524 * fsl_ep struct */
525 struct_ep_qh_setup(udc, 0, USB_RECV, USB_ENDPOINT_XFER_CONTROL, 525 struct_ep_qh_setup(udc, 0, USB_RECV, USB_ENDPOINT_XFER_CONTROL,
526 USB_MAX_CTRL_PAYLOAD, 0, 0); 526 USB_MAX_CTRL_PAYLOAD, 0, 0);
@@ -2349,7 +2349,7 @@ static int struct_ep_setup(struct fsl_udc *udc, unsigned char index,
2349} 2349}
2350 2350
2351/* Driver probe function 2351/* Driver probe function
2352 * all intialization operations implemented here except enabling usb_intr reg 2352 * all initialization operations implemented here except enabling usb_intr reg
2353 * board setup should have been done in the platform code 2353 * board setup should have been done in the platform code
2354 */ 2354 */
2355static int fsl_udc_probe(struct platform_device *pdev) 2355static int fsl_udc_probe(struct platform_device *pdev)
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index cfcdff979583..42530b317c12 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -575,6 +575,7 @@ interruptted||interrupted
575interupted||interrupted 575interupted||interrupted
576interupt||interrupt 576interupt||interrupt
577intial||initial 577intial||initial
578intialization||initialization
578intialized||initialized 579intialized||initialized
579intialize||initialize 580intialize||initialize
580intregral||integral 581intregral||integral
diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h
index 924971b6ded5..9b031352ea3c 100644
--- a/sound/soc/qcom/lpass.h
+++ b/sound/soc/qcom/lpass.h
@@ -82,7 +82,7 @@ struct lpass_variant {
82 **/ 82 **/
83 u32 dmactl_audif_start; 83 u32 dmactl_audif_start;
84 u32 wrdma_channel_start; 84 u32 wrdma_channel_start;
85 /* SOC specific intialization like clocks */ 85 /* SOC specific initialization like clocks */
86 int (*init)(struct platform_device *pdev); 86 int (*init)(struct platform_device *pdev);
87 int (*exit)(struct platform_device *pdev); 87 int (*exit)(struct platform_device *pdev);
88 int (*alloc_dma_channel)(struct lpass_data *data, int direction); 88 int (*alloc_dma_channel)(struct lpass_data *data, int direction);
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index aff3d8129ac9..3e9b1c0bb1ce 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -344,7 +344,7 @@ static int soc_tplg_widget_load(struct soc_tplg *tplg,
344 return 0; 344 return 0;
345} 345}
346 346
347/* pass DAI configurations to component driver for extra intialization */ 347/* pass DAI configurations to component driver for extra initialization */
348static int soc_tplg_dai_load(struct soc_tplg *tplg, 348static int soc_tplg_dai_load(struct soc_tplg *tplg,
349 struct snd_soc_dai_driver *dai_drv) 349 struct snd_soc_dai_driver *dai_drv)
350{ 350{
@@ -354,7 +354,7 @@ static int soc_tplg_dai_load(struct soc_tplg *tplg,
354 return 0; 354 return 0;
355} 355}
356 356
357/* pass link configurations to component driver for extra intialization */ 357/* pass link configurations to component driver for extra initialization */
358static int soc_tplg_dai_link_load(struct soc_tplg *tplg, 358static int soc_tplg_dai_link_load(struct soc_tplg *tplg,
359 struct snd_soc_dai_link *link) 359 struct snd_soc_dai_link *link)
360{ 360{