linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] CPUFREQ: loongson2: Remove unused linux/sched.h headers
@ 2021-06-03 13:57 Hailong Liu
  2021-06-04  3:47 ` Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Hailong Liu @ 2021-06-03 13:57 UTC (permalink / raw)
  To: Jiaxun Yang, Rafael J . Wysocki, Viresh Kumar
  Cc: linux-mips, linux-pm, linux-kernel, Hailong Liu

From: Hailong Liu <liu.hailong6@zte.com.cn>

Since commit 759f534e93ac(CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()),
the header <linux/sched.h> is useless in oongson2_cpufreq.c, so remove it.

Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
---
 drivers/cpufreq/loongson2_cpufreq.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
index d05e761d9572..afc59b292153 100644
--- a/drivers/cpufreq/loongson2_cpufreq.c
+++ b/drivers/cpufreq/loongson2_cpufreq.c
@@ -16,7 +16,6 @@
 #include <linux/cpufreq.h>
 #include <linux/module.h>
 #include <linux/err.h>
-#include <linux/sched.h>	/* set_cpus_allowed() */
 #include <linux/delay.h>
 #include <linux/platform_device.h>
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] CPUFREQ: loongson2: Remove unused linux/sched.h headers
  2021-06-03 13:57 [PATCH] CPUFREQ: loongson2: Remove unused linux/sched.h headers Hailong Liu
@ 2021-06-04  3:47 ` Viresh Kumar
  2021-06-07 15:48   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2021-06-04  3:47 UTC (permalink / raw)
  To: Hailong Liu
  Cc: Jiaxun Yang, Rafael J . Wysocki, linux-mips, linux-pm,
	linux-kernel, Hailong Liu

On 03-06-21, 21:57, Hailong Liu wrote:
> From: Hailong Liu <liu.hailong6@zte.com.cn>
> 
> Since commit 759f534e93ac(CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()),
> the header <linux/sched.h> is useless in oongson2_cpufreq.c, so remove it.
> 
> Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
> ---
>  drivers/cpufreq/loongson2_cpufreq.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
> index d05e761d9572..afc59b292153 100644
> --- a/drivers/cpufreq/loongson2_cpufreq.c
> +++ b/drivers/cpufreq/loongson2_cpufreq.c
> @@ -16,7 +16,6 @@
>  #include <linux/cpufreq.h>
>  #include <linux/module.h>
>  #include <linux/err.h>
> -#include <linux/sched.h>	/* set_cpus_allowed() */
>  #include <linux/delay.h>
>  #include <linux/platform_device.h>

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] CPUFREQ: loongson2: Remove unused linux/sched.h headers
  2021-06-04  3:47 ` Viresh Kumar
@ 2021-06-07 15:48   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2021-06-07 15:48 UTC (permalink / raw)
  To: Viresh Kumar, Hailong Liu
  Cc: Jiaxun Yang, Rafael J . Wysocki, linux-mips, Linux PM,
	Linux Kernel Mailing List, Hailong Liu

On Fri, Jun 4, 2021 at 5:48 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> On 03-06-21, 21:57, Hailong Liu wrote:
> > From: Hailong Liu <liu.hailong6@zte.com.cn>
> >
> > Since commit 759f534e93ac(CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()),
> > the header <linux/sched.h> is useless in oongson2_cpufreq.c, so remove it.
> >
> > Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
> > ---
> >  drivers/cpufreq/loongson2_cpufreq.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
> > index d05e761d9572..afc59b292153 100644
> > --- a/drivers/cpufreq/loongson2_cpufreq.c
> > +++ b/drivers/cpufreq/loongson2_cpufreq.c
> > @@ -16,7 +16,6 @@
> >  #include <linux/cpufreq.h>
> >  #include <linux/module.h>
> >  #include <linux/err.h>
> > -#include <linux/sched.h>     /* set_cpus_allowed() */
> >  #include <linux/delay.h>
> >  #include <linux/platform_device.h>
>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Applied as 5.14 material, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-07 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 13:57 [PATCH] CPUFREQ: loongson2: Remove unused linux/sched.h headers Hailong Liu
2021-06-04  3:47 ` Viresh Kumar
2021-06-07 15:48   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).