scripts/spelling.txt: add "neded" pattern and fix typo instances
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Feb 2017 22:29:14 +0000 (14:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:47 +0000 (18:43 -0800)
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>
drivers/media/usb/gspca/t613.c
drivers/media/usb/tm6000/tm6000-input.c
scripts/spelling.txt

index 42667710af92279dba54b777b9aa4827237f9340..46fb76349000ad743eaa616784e788e6ad4f71a6 100644 (file)
@@ -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;
index 4afd4655d562883a58c4e1bc2b7fa0dbe58f0b58..39c15bb2b20ceb3ca5ca30f0062d0ced276058f9 100644 (file)
@@ -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;
index af842a7ec0eb7d6e84e211e226c541c8044885bd..5a26fa1f41f0ef249b5fc5995b68628f68fbea1d 100644 (file)
@@ -675,6 +675,7 @@ neccecary||necessary
 neccesary||necessary
 neccessary||necessary
 necesary||necessary
+neded||needed
 negaive||negative
 negoitation||negotiation
 negotation||negotiation