diff options
author | 2025-01-22 14:39:52 +0100 | |
---|---|---|
committer | 2025-05-20 10:04:04 +0530 | |
commit | a4e3b76e4d5c265824e686661a79f75df09c4834 (patch) | |
tree | 10fa9775870baf17f8601423b9ebaa9e06d54ab5 /scripts/lib/kdoc/kdoc_files.py | |
parent | rust: clk: Add initial abstractions (diff) | |
download | linux-rng-a4e3b76e4d5c265824e686661a79f75df09c4834.tar.xz linux-rng-a4e3b76e4d5c265824e686661a79f75df09c4834.zip |
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_files.py')
0 files changed, 0 insertions, 0 deletions