diff options
author | Anisse Astier <anisse@astier.eu> | 2025-01-22 14:39:52 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-05-20 10:04:04 +0530 |
commit | a4e3b76e4d5c265824e686661a79f75df09c4834 (patch) | |
tree | 10fa9775870baf17f8601423b9ebaa9e06d54ab5 /scripts/lib/kdoc/kdoc_parser.py | |
parent | d01d7020560116876c6e39e056737b8f81f153e0 (diff) |
rust: macros: enable use of hyphens in module names
Some modules might need naming that contains hyphens "-" to match the
auto-probing by name in the platform devices that comes from the device
tree.
But Rust identifier cannot contain hyphens, so replace them with
underscores.
Signed-off-by: Anisse Astier <anisse@astier.eu>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
[ Viresh: Replace "-" with '-', minor commit log fix, rename variable and
fix line length checkpatch warnings ]
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions