diff options
author | 2024-04-26 18:25:15 +0300 | |
---|---|---|
committer | 2024-05-02 18:06:30 +0100 | |
commit | 3b29c7b9f701e5afbe6b536eb2744acb25cf5bfd (patch) | |
tree | 5c054f8b9c97e86c19b51b3076011ec21ec3a5e4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | leds: pwm: Disable PWM when going to suspend (diff) | |
download | wireguard-linux-3b29c7b9f701e5afbe6b536eb2744acb25cf5bfd.tar.xz wireguard-linux-3b29c7b9f701e5afbe6b536eb2744acb25cf5bfd.zip |
leds: sun50i-a100: Use match_string() helper to simplify the code
match_string() returns the array index of a matching string.
Use it instead of the open-coded implementation.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240426152515.872917-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions