Commit 43ee1e3
leds: mt6360: Get rid of custom led_init_default_state_get()
LED core provides a helper to parse default state from firmware node.
Use it instead of custom implementation.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230103131256.33894-8-andriy.shevchenko@linux.intel.com1 parent 99cade8 commit 43ee1e3
1 file changed
Lines changed: 6 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
| |||
84 | 80 | | |
85 | 81 | | |
86 | 82 | | |
87 | | - | |
| 83 | + | |
88 | 84 | | |
89 | 85 | | |
90 | 86 | | |
| |||
405 | 401 | | |
406 | 402 | | |
407 | 403 | | |
408 | | - | |
| 404 | + | |
409 | 405 | | |
410 | 406 | | |
411 | | - | |
| 407 | + | |
412 | 408 | | |
413 | 409 | | |
414 | 410 | | |
| |||
443 | 439 | | |
444 | 440 | | |
445 | 441 | | |
446 | | - | |
| 442 | + | |
447 | 443 | | |
448 | 444 | | |
449 | | - | |
| 445 | + | |
450 | 446 | | |
451 | 447 | | |
452 | 448 | | |
| |||
760 | 756 | | |
761 | 757 | | |
762 | 758 | | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | 759 | | |
783 | 760 | | |
784 | 761 | | |
| |||
852 | 829 | | |
853 | 830 | | |
854 | 831 | | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
| 832 | + | |
859 | 833 | | |
860 | 834 | | |
861 | 835 | | |
| |||
0 commit comments