diff options
| author | Anisse Astier <[email protected]> | 2025-01-22 13:39:52 +0000 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2025-05-20 04:34:04 +0000 |
| commit | a4e3b76e4d5c265824e686661a79f75df09c4834 (patch) | |
| tree | 10fa9775870baf17f8601423b9ebaa9e06d54ab5 /rust/helpers/helpers.c | |
| parent | rust: clk: Add initial abstractions (diff) | |
| download | kernel-a4e3b76e4d5c265824e686661a79f75df09c4834.tar.gz kernel-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 <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
[ Viresh: Replace "-" with '-', minor commit log fix, rename variable and
fix line length checkpatch warnings ]
Reviewed-by: Benno Lossin <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
