aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-02-27 17:29:14 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-27 21:43:47 -0500
commit176180c2b4ae673394b4b37474cfd3e3fd9d0c5e (patch)
treeafaefdd69f86325b5966173374f4d98bd8aac685
parent57366a8d0bf24181fea3e9d5b772175059914a3c (diff)
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.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--drivers/media/usb/gspca/t613.c6
-rw-r--r--drivers/media/usb/tm6000/tm6000-input.c2
-rw-r--r--scripts/spelling.txt1
3 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/usb/gspca/t613.c b/drivers/media/usb/gspca/t613.c
index 42667710af92..46fb76349000 100644
--- a/drivers/media/usb/gspca/t613.c
+++ b/drivers/media/usb/gspca/t613.c
@@ -570,9 +570,9 @@ static void setfreq(struct gspca_dev *gspca_dev, s32 val)
570/* this function is called at probe and resume time */ 570/* this function is called at probe and resume time */
571static int sd_init(struct gspca_dev *gspca_dev) 571static int sd_init(struct gspca_dev *gspca_dev)
572{ 572{
573 /* some of this registers are not really neded, because 573 /* some of this registers are not really needed, because
574 * they are overriden by setbrigthness, setcontrast, etc, 574 * they are overridden by setbrigthness, setcontrast, etc.,
575 * but wont hurt anyway, and can help someone with similar webcam 575 * but won't hurt anyway, and can help someone with similar webcam
576 * to see the initial parameters.*/ 576 * to see the initial parameters.*/
577 struct sd *sd = (struct sd *) gspca_dev; 577 struct sd *sd = (struct sd *) gspca_dev;
578 const struct additional_sensor_data *sensor; 578 const struct additional_sensor_data *sensor;
diff --git a/drivers/media/usb/tm6000/tm6000-input.c b/drivers/media/usb/tm6000/tm6000-input.c
index 4afd4655d562..39c15bb2b20c 100644
--- a/drivers/media/usb/tm6000/tm6000-input.c
+++ b/drivers/media/usb/tm6000/tm6000-input.c
@@ -438,7 +438,7 @@ int tm6000_ir_init(struct tm6000_core *dev)
438 438
439 /* input setup */ 439 /* input setup */
440 rc->allowed_protocols = RC_BIT_RC5 | RC_BIT_NEC; 440 rc->allowed_protocols = RC_BIT_RC5 | RC_BIT_NEC;
441 /* Neded, in order to support NEC remotes with 24 or 32 bits */ 441 /* Needed, in order to support NEC remotes with 24 or 32 bits */
442 rc->scancode_mask = 0xffff; 442 rc->scancode_mask = 0xffff;
443 rc->priv = ir; 443 rc->priv = ir;
444 rc->change_protocol = tm6000_ir_change_protocol; 444 rc->change_protocol = tm6000_ir_change_protocol;
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index af842a7ec0eb..5a26fa1f41f0 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -675,6 +675,7 @@ neccecary||necessary
675neccesary||necessary 675neccesary||necessary
676neccessary||necessary 676neccessary||necessary
677necesary||necessary 677necesary||necessary
678neded||needed
678negaive||negative 679negaive||negative
679negoitation||negotiation 680negoitation||negotiation
680negotation||negotiation 681negotation||negotiation