Re: [PATCH v4 03/11] OPP: Rework _set_required_devs() to manage a single device per call
From: Viresh Kumar
Date: Thu Oct 03 2024 - 03:14:25 EST
On 02-10-24, 14:22, Ulf Hansson wrote:
> /**
> * struct opp_config_data - data for set config operations
> * @opp_table: OPP table
> * @flags: OPP config flags
> + * @index: The position in the array of required_devs
> *
> * This structure stores the OPP config information for each OPP table
> * configuration by the callers.
> @@ -48,6 +49,7 @@ extern struct list_head opp_tables;
> struct opp_config_data {
> struct opp_table *opp_table;
> unsigned int flags;
> + unsigned int index;
Maybe name this required_dev_index as well ?
--
viresh