]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: Reduce redundant register field names
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Feb 2017 14:58:35 +0000 (15:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Feb 2017 16:37:02 +0000 (17:37 +0100)
commit1804082e48d2825b5870a1e22e34f029233e445c
tree616d9589c4dc58fc0bbbb644155fe95ab994f58c
parent0e839f513cf04715f9dc3e32497d0010a6fda4b8
ALSA: x86: Reduce redundant register field names

Currently each register definition contains the own prefix in the
union struct itself; for example, union aud_ch_status_0 has
status_0_regx and status_0_regval fields.  These are simply
superfluous, since usually the type of the variable is seen in its
declaration or in its name.

In this patch, we cut off these prefixes.  Now all register
definitions have regx and regval fields consistently, instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c
sound/x86/intel_hdmi_audio.h
sound/x86/intel_hdmi_lpe_audio.h