scripts/spelling.txt: add "an union" pattern and fix typo instances
Fix typos and add the following to the scripts/spelling.txt: an union||a union Link: http://lkml.kernel.org/r/1481573103-11329-5-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>
This commit is contained in:

committed by
Linus Torvalds

orang tua
9332ef9dbd
melakukan
03440c4e5e
@@ -254,7 +254,7 @@ static int snd_wm8766_ctl_put(struct snd_kcontrol *kcontrol,
|
||||
int n = kcontrol->private_value;
|
||||
u16 val, regval1, regval2;
|
||||
|
||||
/* this also works for enum because value is an union */
|
||||
/* this also works for enum because value is a union */
|
||||
regval1 = ucontrol->value.integer.value[0];
|
||||
regval2 = ucontrol->value.integer.value[1];
|
||||
if (wm->ctl[n].flags & WM8766_FLAG_INVERT) {
|
||||
|
@@ -528,7 +528,7 @@ static int snd_wm8776_ctl_put(struct snd_kcontrol *kcontrol,
|
||||
int n = kcontrol->private_value;
|
||||
u16 val, regval1, regval2;
|
||||
|
||||
/* this also works for enum because value is an union */
|
||||
/* this also works for enum because value is a union */
|
||||
regval1 = ucontrol->value.integer.value[0];
|
||||
regval2 = ucontrol->value.integer.value[1];
|
||||
if (wm->ctl[n].flags & WM8776_FLAG_INVERT) {
|
||||
|
Reference in New Issue
Block a user