scripts/spelling.txt: keep British spelling for "initalise"

These are the only two entries in the file that map a British spelling to
an American one:

  initalised||initialized
  initalise||initialize

doc-guide/checkpatch.rst asks that British and American spellings be left
alone, so correcting the missing "i" should not also change the variety of
English.  Following checkpatch here silently rewrites "initalised" to
"initialized" in files that otherwise use British forms; arch/arm64 alone
has 58 uses of "initialised" against 132 of "initialized", so both are
clearly in use.

Map them to the British forms instead, so the misspelling is still caught
while the spelling variety is left to the author.

Link: https://lore.kernel.org/20260907091324.32211-1-hemanth.selam@gmail.com
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Assisted-by: Cursor:claude-opus-5
Cc: Colin Ian King <colin.i.king@gmail.com>
Cc: Joe Perches <joe@perches.com>
Cc: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Hemanth Selam 2026-09-07 14:43:24 +05:30 committed by Andrew Morton
parent 5c45831072
commit 392fe36dd2

View File

@ -872,8 +872,8 @@ infromation||information
ingore||ignore
inheritence||inheritance
inital||initial
initalised||initialized
initalise||initialize
initalised||initialised
initalise||initialise
initalized||initialized
initalize||initialize
initation||initiation