summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-09-15 16:59:54 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2025-09-29 12:10:46 +0300
commit24287f902095d845c6af9c2c369ba96877f5eb79 (patch)
tree3f56f48259dfb5db4f560326a938c981e063d10d /tools/docs/parse-headers.py
parentebc4ed14a4dbf51307102bb7ffc82ed6c16a37c2 (diff)
downloadlinux-24287f902095d845c6af9c2c369ba96877f5eb79.tar.xz
rust: cpufreq: streamline find_supply_names
Remove local variables from find_supply_names() and use .and_then() with the more concise kernel::kvec![] macro, instead of KVec::with_capacity() followed by .push() and Some(). No functional changes intended. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions