diff options
| author | Tamir Duberstein <tamird@kernel.org> | 2025-10-23 09:59:39 -0400 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-10-23 20:51:17 +0530 |
| commit | 33ffb0aa8ce8b18aaa65e0f9346d52b4e314ad7d (patch) | |
| tree | ed78d7696e541ad8a3156d5c091f4deab88b68f0 /tools/docs/parse-headers.py | |
| parent | 173e02d674946ff3ef8da7f44a9d5b820b9af21c (diff) | |
rust: opp: simplify callers of `to_c_str_array`
Use `Option` combinators to make this a bit less noisy.
Wrap the `dev_pm_opp_set_config` operation in a closure and use type
ascription to leverage the compiler to check for use after free.
Signed-off-by: Tamir Duberstein <tamird@kernel.org>
Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
