Re: [PATCH v2] rust: macros: enable use of hyphens in module names
From: Viresh Kumar
Date: Wed Jan 22 2025 - 09:38:35 EST
On 22-01-25, 14:39, Anisse Astier wrote:
> 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 identifiers cannot contain hyphens, so replace the module name
> by an underscore anywhere we'd use it as an identifier.
>
> Signed-off-by: Anisse Astier <anisse@xxxxxxxxx>
> ---
> Hello,
>
> Change since v1:
> - rebase on branch rfl/staging/dev
Tested-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
Thanks for the fix.
--
viresh