]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: fireworks: enclose identifiers referred by single function
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 5 Jan 2017 12:48:08 +0000 (21:48 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 5 Jan 2017 15:58:03 +0000 (16:58 +0100)
commit7cdc887a00d79a1553009eb7afd308882e4b74d5
tree3b6fc7167b4a1a9c3089343dc4ecf96c654232f7
parent4780f774f99129f1650d250e346d5bfba98d9f4f
ALSA: fireworks: enclose identifiers referred by single function

Some identifiers are referred just by one functions. In this case, they
can be put into the function definition. This brings two merits; readers
can easily follow codes related to the identifiers, developers are free
from name conflict.

This commit moves such identifiers to each function definition.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks_hwdep.c
sound/firewire/fireworks/fireworks_midi.c
sound/firewire/fireworks/fireworks_pcm.c