Re: [PATCH V3 1/2] rust: Add clk helpers
From: Viresh Kumar
Date: Mon Mar 03 2025 - 06:27:12 EST
On 03-03-25, 11:05, Alice Ryhl wrote:
> On Mon, Mar 3, 2025 at 11:00 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> >
> > Non-trivial C macros and inlined C functions cannot be used directly
> > in the Rust code and are used via functions ("helpers") that wrap
> > those so that they can be called from Rust.
> >
> > In order to prepare for adding Rust abstractions for the clock APIs,
> > add clock helpers required by the Rust implementation.
> >
> > Reviewed-by: Daniel Almeida <daniel.almeida@xxxxxxxxxxxxx>
> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
>
> Did clk maintainers ask for this to be separate? We normally just add
> helpers in the commit that need them.
Greg suggested that earlier:
https://lore.kernel.org/all/2025010708-commence-exile-0946@gregkh/
--
viresh