diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-08-13 20:01:08 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-19 12:37:15 +0200 |
| commit | 89fb7d737f9a3467406c9729609319a8d633e97a (patch) | |
| tree | a9b33eae4bf93afc2248895f5ea914f5be5c7d74 /tools/perf/scripts/python | |
| parent | misc: apds990x: Drop superfluous return statement (diff) | |
| download | linux-89fb7d737f9a3467406c9729609319a8d633e97a.tar.gz linux-89fb7d737f9a3467406c9729609319a8d633e97a.zip | |
misc: hisi_hikey_usb: Use str_enabled_disabled() in hub_power_ctrl()
Remove hard-coded strings by using the str_enabled_disabled() helper
function and silence the following Coccinelle/coccicheck warning
reported by string_choices.cocci:
opportunity for str_enabled_disabled(value)
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/r/20250813180108.209096-2-thorsten.blum@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
