diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-06-26 18:00:10 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-06-26 17:08:30 +0100 |
commit | 4d310b96f2db602830c40f82a75ede799b243cce (patch) | |
tree | 2143ccdbc7a3a20485a5299042e5489349cb598e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | db30c2891bfc74acb8823edee5f39cbc36bd9a4d (diff) |
leds: leds-lp55xx: Generalize load_engine function
LED driver based on lp55xx have all a very similar implementation for
load_engine function. Move the function to lp55xx-common and rework the
define to be more dynamic instead of having to declare a temp array for
them.
Engine mask are the same for every LED based on lp55xx.
Suggested-by: Lee Jones <lee@kernel.org>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20240626160027.19703-6-ansuelsmth@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions