Re: [PATCH] rust: make `clk::Hertz` methods const

From: Alice Ryhl
Date: Wed Jun 18 2025 - 05:24:38 EST


On Wed, Jun 18, 2025 at 11:16 AM Onur Özkan <work@xxxxxxxxxxxxx> wrote:
>
> Marks `Hertz` methods as `const` to make them available
> for `const` contexts. This can be useful when defining
> static/compile-time frequency parameters in drivers/subsystems.
>
> Signed-off-by: Onur Özkan <work@xxxxxxxxxxxxx>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>