Skip to content

Commit

Permalink
scripts/spelling.txt: add "deintialize(d)" pattern and fix typo insta…
Browse files Browse the repository at this point in the history
…nces

Fix typos and add the following to the scripts/spelling.txt:

  deintializing||deinitializing
  deintialize||deinitialize
  deintialized||deinitialized

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
masahir0y authored and torvalds committed Feb 28, 2017
1 parent 66f0044 commit 1cce200
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/crypto/caam/ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static int deinstantiate_rng(struct device *ctrldev, int state_handle_mask)
/*
* If the corresponding bit is set, then it means the state
* handle was initialized by us, and thus it needs to be
* deintialized as well
* deinitialized as well
*/
if ((1 << sh_idx) & state_handle_mask) {
/*
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/rsi/rsi_91x_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ static int rsi_probe(struct usb_interface *pfunction,

/**
* rsi_disconnect() - This function performs the reverse of the probe function,
* it deintialize the driver structure.
* it deinitialize the driver structure.
* @pfunction: Pointer to the USB interface structure.
*
* Return: None.
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/wilc1000/linux_wlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ static void deinit_irq(struct net_device *dev)
vif = netdev_priv(dev);
wilc = vif->wilc;

/* Deintialize IRQ */
/* Deinitialize IRQ */
if (wilc->dev_irq_num) {
free_irq(wilc->dev_irq_num, wilc);
gpio_free(wilc->gpio);
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
Original file line number Diff line number Diff line change
Expand Up @@ -2357,7 +2357,7 @@ int wilc_deinit_host_int(struct net_device *net)
del_timer_sync(&wilc_during_ip_timer);

if (s32Error)
netdev_err(net, "Error while deintializing host interface\n");
netdev_err(net, "Error while deinitializing host interface\n");

return s32Error;
}
Expand Down
3 changes: 3 additions & 0 deletions scripts/spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ defintion||definition
defintions||definitions
defualt||default
defult||default
deintializing||deinitializing
deintialize||deinitialize
deintialized||deinitialized
deivce||device
delared||declared
delare||declare
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/amd/acp-pcm-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ static int acp_init(void __iomem *acp_mmio)
return 0;
}

/* Deintialize ACP */
/* Deinitialize ACP */
static int acp_deinit(void __iomem *acp_mmio)
{
u32 val;
Expand Down

0 comments on commit 1cce200

Please sign in to comment.