[PATCH V3 2/6] PM / OPP: Rename opp init/free table routines

Shawn Guo shawnguo at kernel.org
Sun Sep 6 05:26:06 PDT 2015


On Fri, Sep 04, 2015 at 01:47:23PM +0530, Viresh Kumar wrote:
> free-table routines are opposite of init-table ones, and must be named
> to make that clear. Opposite of 'init' is 'exit', but those doesn't suit
> really well.
> 
> Replace 'init' with 'add' and 'free' with 'remove'.
> 
> Reported-by: Pavel Machek <pavel at ucw.cz>
> Reviewed-by: Stephen Boyd <sboyd at codeaurora.org>
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
> ---
>  arch/arm/mach-imx/mach-imx6q.c       |  2 +-
...
>  drivers/cpufreq/imx6q-cpufreq.c      |  6 +++---

Acked-by: Shawn Guo <shawnguo at kernel.org>



More information about the linux-arm-kernel mailing list