public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] thermal: int3403: remove unused struct 'int3403_performance_state'
@ 2024-05-29 17:53 linux
  2024-05-30  7:21 ` Zhang, Rui
  0 siblings, 1 reply; 3+ messages in thread
From: linux @ 2024-05-29 17:53 UTC (permalink / raw)
  To: rafael, rui.zhang; +Cc: linux-pm, linux-kernel, Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <linux@treblig.org>

'int3403_performance_state' has never been used since the original
commit 4384b8fe162d ("Thermal: introduce int3403 thermal driver").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 .../thermal/intel/int340x_thermal/int3403_thermal.c   | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
index 86901f9f54d8..c094a422ded3 100644
--- a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
+++ b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
@@ -25,17 +25,6 @@ struct int3403_sensor {
 	struct int34x_thermal_zone *int340x_zone;
 };
 
-struct int3403_performance_state {
-	u64 performance;
-	u64 power;
-	u64 latency;
-	u64 linear;
-	u64 control;
-	u64 raw_performace;
-	char *raw_unit;
-	int reserved;
-};
-
 struct int3403_cdev {
 	struct thermal_cooling_device *cdev;
 	unsigned long max_state;
-- 
2.45.1


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

* Re: [PATCH] thermal: int3403: remove unused struct 'int3403_performance_state'
  2024-05-29 17:53 [PATCH] thermal: int3403: remove unused struct 'int3403_performance_state' linux
@ 2024-05-30  7:21 ` Zhang, Rui
  2024-06-07 19:23   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Rui @ 2024-05-30  7:21 UTC (permalink / raw)
  To: rafael@kernel.org, linux@treblig.org
  Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org

On Wed, 2024-05-29 at 18:53 +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'int3403_performance_state' has never been used since the original
> commit 4384b8fe162d ("Thermal: introduce int3403 thermal driver").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Acked-by: Zhang Rui <rui.zhang@intel.com>


> ---
>  .../thermal/intel/int340x_thermal/int3403_thermal.c   | 11 ---------
> --
>  1 file changed, 11 deletions(-)
> 
> diff --git a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> index 86901f9f54d8..c094a422ded3 100644
> --- a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> +++ b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> @@ -25,17 +25,6 @@ struct int3403_sensor {
>         struct int34x_thermal_zone *int340x_zone;
>  };
>  
> -struct int3403_performance_state {
> -       u64 performance;
> -       u64 power;
> -       u64 latency;
> -       u64 linear;
> -       u64 control;
> -       u64 raw_performace;
> -       char *raw_unit;
> -       int reserved;
> -};
> -
>  struct int3403_cdev {
>         struct thermal_cooling_device *cdev;
>         unsigned long max_state;


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

* Re: [PATCH] thermal: int3403: remove unused struct 'int3403_performance_state'
  2024-05-30  7:21 ` Zhang, Rui
@ 2024-06-07 19:23   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2024-06-07 19:23 UTC (permalink / raw)
  To: Zhang, Rui, linux@treblig.org
  Cc: rafael@kernel.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org

On Thu, May 30, 2024 at 9:21 AM Zhang, Rui <rui.zhang@intel.com> wrote:
>
> On Wed, 2024-05-29 at 18:53 +0100, linux@treblig.org wrote:
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> >
> > 'int3403_performance_state' has never been used since the original
> > commit 4384b8fe162d ("Thermal: introduce int3403 thermal driver").
> >
> > Remove it.
> >
> > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
>
> Acked-by: Zhang Rui <rui.zhang@intel.com>

Applied as 6.11 material, thanks!

> > ---
> >  .../thermal/intel/int340x_thermal/int3403_thermal.c   | 11 ---------
> > --
> >  1 file changed, 11 deletions(-)
> >
> > diff --git a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> > b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> > index 86901f9f54d8..c094a422ded3 100644
> > --- a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> > +++ b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> > @@ -25,17 +25,6 @@ struct int3403_sensor {
> >         struct int34x_thermal_zone *int340x_zone;
> >  };
> >
> > -struct int3403_performance_state {
> > -       u64 performance;
> > -       u64 power;
> > -       u64 latency;
> > -       u64 linear;
> > -       u64 control;
> > -       u64 raw_performace;
> > -       char *raw_unit;
> > -       int reserved;
> > -};
> > -
> >  struct int3403_cdev {
> >         struct thermal_cooling_device *cdev;
> >         unsigned long max_state;
>

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

end of thread, other threads:[~2024-06-07 19:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29 17:53 [PATCH] thermal: int3403: remove unused struct 'int3403_performance_state' linux
2024-05-30  7:21 ` Zhang, Rui
2024-06-07 19:23   ` 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