Re: [PATCH 2/2] PM / OPP: Rename structures for clarity

From: Stephen Boyd
Date: Thu Feb 18 2016 - 17:08:49 EST


On 02/16, Viresh Kumar wrote:
> Stephen pointed out recently, that few structures always confuse him as
> they aren't named properly. And this patch tries to address that:
>
> Names are updated as:
> - device_opp or dev_opp -> opp_table
> - dev_opp_list -> opp_tables
> - dev_opp_list_lock -> opp_table_lock
> - device_list_opp -> opp_device (it was never a list, but a structure)
> - list_dev -> opp_dev
> - And similar changes in comments and function names as well.
>
> This also fixes checkpatch warnings that were generated with this patch.
>
> No functional changes.
>
> Suggested-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project