[PATCH v4 03/11] OPP: Rework _set_required_devs() to manage a single device per call

Viresh Kumar viresh.kumar at linaro.org
Thu Oct 3 00:14:11 PDT 2024


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



More information about the linux-arm-kernel mailing list