]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Replace the magic number 44 with const
authorTakashi Iwai <tiwai@suse.de>
Fri, 28 Jun 2013 09:56:49 +0000 (11:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 28 Jun 2013 10:14:44 +0000 (12:14 +0200)
commit76de370014a4ff5ebb74a5fa3f6f583c8078b2ba
tree9ca3c2937ff979fe3f7266f9c1902a60011a61f0
parent15b55dcb8ceb0b6b9c788613b3746384eff7f6fe
ALSA: Replace the magic number 44 with const

The char arrays with size 44 are for the name string of
snd_ctl_elem_id.  Define the constant and replace the raw numbers with
it for clarifying better.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asound.h
sound/pci/ac97/ac97_codec.c
sound/pci/asihpi/asihpi.c
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_jack.c
sound/pci/hda/patch_ca0132.c