]> 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)
commit9cb93de536c0ec650c455e5e86b0ba93d02999ee
tree616d9589c4dc58fc0bbbb644155fe95ab994f58c
parentfdfa996909262b884e7bfba618bc6c26d34002dc
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