ALSA: scarlett2: Simplify enums by removing explicit values
authorGeoffrey D. Bennett <g@b4.vu>
Sun, 24 Dec 2023 19:20:09 +0000 (05:50 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:41:22 +0000 (15:41 +0100)
commita2bb6c7d80575a67edb7d8a37dae95b76a86be3f
treed610c5c84985b0658c05e4cdb8e14f9325c02788
parent1abfbd3c952781881dc17d8e3624cac9df6a70b5
ALSA: scarlett2: Simplify enums by removing explicit values

This commit removes the explicit integer assignments from the enums.
The actual values matter little, and not assigning explicit values
makes it easier to modify the longer lists in the future.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/67f0f1bb8b90d7c76dfe7062d22d33bbde19cf93.1703444932.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett2.c