Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1739514

Re: [PATCH] PM / OPP: Move the OPP directory out of power/

From Sekhar Nori <nsekhar@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH] PM / OPP: Move the OPP directory out of power/
Date 2017-09-26 07:20 +0200
Message-ID <utQrM-gt-17@gated-at.bofh.it> (permalink)
References <utLBL-5lc-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@linaro.org>
> ---
>  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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] PM / OPP: Move the OPP directory out of power/ Viresh Kumar <viresh.kumar@linaro.org> - 2017-09-26 02:10 +0200
  Re: [PATCH] PM / OPP: Move the OPP directory out of power/ Sekhar Nori <nsekhar@ti.com> - 2017-09-26 07:20 +0200
    Re: [PATCH] PM / OPP: Move the OPP directory out of power/ Viresh Kumar <viresh.kumar@linaro.org> - 2017-09-27 00:10 +0200

csiph-web