Re: [PATCH 0/8] cpufreq: Auto-register with energy model
From: Viresh Kumar
Date: Wed Aug 11 2021 - 06:15:00 EST
On 11-08-21, 11:12, Quentin Perret wrote:
> I think using the ready() callback can work just fine as long as we
> document clearly it is important to register the EM from there and not
> anywhere else. The dedicated em_register() callback makes that a bit
> clearer and should avoid a bit of boilerplate in the driver, but it's
> not a big deal really, so I'm happy either way ;)
Yeah, I think just the same. It is better to have register_em as a
separate call. I was just wondering if it is the right choice :)
Anyway, I think ready() will get removed pretty soon, so register_em()
will work well. I will redo this series and send it.
--
viresh