Commit 176180c2 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Torvalds

scripts/spelling.txt: add "neded" pattern and fix typo instances

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

  neded||needed

While we are here, fix the "overriden", "wont", and "etc" in the same
hunk in drivers/media/usb/tm6000/tm6000-input.c.

Link: http://lkml.kernel.org/r/1481573103-11329-14-git-send-email-yamada.masahiro@socionext.comSigned-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 57366a8d
...@@ -570,9 +570,9 @@ static void setfreq(struct gspca_dev *gspca_dev, s32 val) ...@@ -570,9 +570,9 @@ static void setfreq(struct gspca_dev *gspca_dev, s32 val)
/* this function is called at probe and resume time */ /* this function is called at probe and resume time */
static int sd_init(struct gspca_dev *gspca_dev) static int sd_init(struct gspca_dev *gspca_dev)
{ {
/* some of this registers are not really neded, because /* some of this registers are not really needed, because
* they are overriden by setbrigthness, setcontrast, etc, * they are overridden by setbrigthness, setcontrast, etc.,
* but wont hurt anyway, and can help someone with similar webcam * but won't hurt anyway, and can help someone with similar webcam
* to see the initial parameters.*/ * to see the initial parameters.*/
struct sd *sd = (struct sd *) gspca_dev; struct sd *sd = (struct sd *) gspca_dev;
const struct additional_sensor_data *sensor; const struct additional_sensor_data *sensor;
......
...@@ -438,7 +438,7 @@ int tm6000_ir_init(struct tm6000_core *dev) ...@@ -438,7 +438,7 @@ int tm6000_ir_init(struct tm6000_core *dev)
/* input setup */ /* input setup */
rc->allowed_protocols = RC_BIT_RC5 | RC_BIT_NEC; rc->allowed_protocols = RC_BIT_RC5 | RC_BIT_NEC;
/* Neded, in order to support NEC remotes with 24 or 32 bits */ /* Needed, in order to support NEC remotes with 24 or 32 bits */
rc->scancode_mask = 0xffff; rc->scancode_mask = 0xffff;
rc->priv = ir; rc->priv = ir;
rc->change_protocol = tm6000_ir_change_protocol; rc->change_protocol = tm6000_ir_change_protocol;
......
...@@ -675,6 +675,7 @@ neccecary||necessary ...@@ -675,6 +675,7 @@ neccecary||necessary
neccesary||necessary neccesary||necessary
neccessary||necessary neccessary||necessary
necesary||necessary necesary||necessary
neded||needed
negaive||negative negaive||negative
negoitation||negotiation negoitation||negotiation
negotation||negotiation negotation||negotiation
......
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