Re: [PATCH] PM / OPP: Move the OPP directory out of power/
From: Sekhar Nori
Date: Tue Sep 26 2017 - 01:11:21 EST
On Tuesday 26 September 2017 05:35 AM, Viresh Kumar wrote:
> The drivers/base/power/ directory is special and contains code related
> to power management core like system suspend/resume, hibernation, etc.
> It was fine to keep the OPP code inside it when we had just one file for
> it, but it is growing now and already has a directory for itself.
>
> Lets move it directly under drivers/ directory, just like cpufreq and
> cpuidle.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> drivers/Makefile | 1 +
> drivers/base/power/Makefile | 1 -
> drivers/{base/power => }/opp/Makefile | 0
> drivers/{base/power => }/opp/core.c | 0
> drivers/{base/power => }/opp/cpu.c | 0
> drivers/{base/power => }/opp/debugfs.c | 0
> drivers/{base/power => }/opp/of.c | 0
> drivers/{base/power => }/opp/opp.h | 0
> 8 files changed, 1 insertion(+), 1 deletion(-)
> rename drivers/{base/power => }/opp/Makefile (100%)
> rename drivers/{base/power => }/opp/core.c (100%)
> rename drivers/{base/power => }/opp/cpu.c (100%)
> rename drivers/{base/power => }/opp/debugfs.c (100%)
> rename drivers/{base/power => }/opp/of.c (100%)
> rename drivers/{base/power => }/opp/opp.h (100%)
MAINTAINERS needs update too. Also, shouldn't PM_OPP now find a home in
drivers/opp/Kconfig?
Thanks,
Sekhar