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)
commit7ceba75f21e4ecb520b110ffada72cc0c9f5c072
tree616d9589c4dc58fc0bbbb644155fe95ab994f58c
parentdf0435db1db9e385acdc0a354896d2c0e878dbd5
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