Skip to content

Commit

Permalink
scripts/spelling.txt: add "neded" pattern and fix typo instances
Browse files Browse the repository at this point in the history
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/[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 57366a8 commit 176180c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions drivers/media/usb/gspca/t613.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,9 @@ static void setfreq(struct gspca_dev *gspca_dev, s32 val)
/* this function is called at probe and resume time */
static int sd_init(struct gspca_dev *gspca_dev)
{
/* some of this registers are not really neded, because
* they are overriden by setbrigthness, setcontrast, etc,
* but wont hurt anyway, and can help someone with similar webcam
/* some of this registers are not really needed, because
* they are overridden by setbrigthness, setcontrast, etc.,
* but won't hurt anyway, and can help someone with similar webcam
* to see the initial parameters.*/
struct sd *sd = (struct sd *) gspca_dev;
const struct additional_sensor_data *sensor;
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/usb/tm6000/tm6000-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ int tm6000_ir_init(struct tm6000_core *dev)

/* input setup */
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->priv = ir;
rc->change_protocol = tm6000_ir_change_protocol;
Expand Down
1 change: 1 addition & 0 deletions scripts/spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ neccecary||necessary
neccesary||necessary
neccessary||necessary
necesary||necessary
neded||needed
negaive||negative
negoitation||negotiation
negotation||negotiation
Expand Down

0 comments on commit 176180c

Please sign in to comment.