Commit 3dd34df
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>1 parent c31ef70 commit 3dd34df
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
625 | 624 | | |
626 | 625 | | |
627 | 626 | | |
| |||
707 | 706 | | |
708 | 707 | | |
709 | 708 | | |
710 | | - | |
711 | | - | |
| 709 | + | |
712 | 710 | | |
713 | | - | |
714 | 711 | | |
715 | 712 | | |
716 | 713 | | |
| |||
841 | 838 | | |
842 | 839 | | |
843 | 840 | | |
844 | | - | |
845 | | - | |
| 841 | + | |
846 | 842 | | |
847 | 843 | | |
848 | 844 | | |
849 | | - | |
850 | | - | |
851 | | - | |
| 845 | + | |
| 846 | + | |
852 | 847 | | |
853 | 848 | | |
854 | 849 | | |
| |||
0 commit comments