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

From: Shawn Guo
Date: Sun Sep 06 2015 - 08:27:17 EST


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@xxxxxx>
> Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> arch/arm/mach-imx/mach-imx6q.c | 2 +-
...
> drivers/cpufreq/imx6q-cpufreq.c | 6 +++---

Acked-by: Shawn Guo <shawnguo@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/