diff options
author | Onur Özkan <work@onurozkan.dev> | 2025-06-18 12:35:08 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-06-19 12:42:38 -0700 |
commit | b112dfc74b2040721959935b317d784455c5f635 (patch) | |
tree | 6559552578d6251339474d6e0f7f31aded5b1984 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bbbaea850e52c408654a586e0c4fbff8c1efc6f1 (diff) |
rust: shorten `con_id`s in `get` methods in clk module
Converts `if-else` blocks into one line code using `map_or`
for simplicity.
Signed-off-by: Onur Özkan <work@onurozkan.dev>
Link: https://lore.kernel.org/r/20250618093508.16343-1-work@onurozkan.dev
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions