ALSA: control: Use list_for_each_entry_safe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 24 Apr 2024 14:49:41 +0000 (17:49 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 Apr 2024 15:08:48 +0000 (17:08 +0200)
commit541b8a266e0ebf7b4f91f753783a2d2b972169ea
tree9c57014a2c3484e7cc29bab51b2700ae0c0c7d95
parent25f46354dca912c84f1f79468fd636a94b8d287a
ALSA: control: Use list_for_each_entry_safe()

Instead of reiterating the list, use list_for_each_entry_safe()
that allows to continue without starting over.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Message-ID: <20240424145020.1057216-1-andriy.shevchenko@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control_led.c