leds: lgm-sso: Convert to use list_for_each_entry*() API
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Sat, 29 May 2021 11:19:29 +0000 (14:19 +0300)
committerPavel Machek <pavel@ucw.cz>
Tue, 3 Aug 2021 21:46:12 +0000 (23:46 +0200)
commit3dd34dfb09ae814922dd833cad11b215b238a1ba
tree5094637924383f7faed0e4a2e85f279d19be8ecf
parentc31ef7004ee1fd417dd9448ba4a43f42090d27fe
leds: lgm-sso: Convert to use list_for_each_entry*() API

Convert to use list_for_each_entry*() API insted of open coded variants.
It saves few lines of code and makes iteasier to read and maintain.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/blink/leds-lgm-sso.c