* [PATCH v1] thermal: trip: Drop redundant __thermal_zone_get_trip() header
@ 2023-12-04 19:36 Rafael J. Wysocki
2023-12-12 18:58 ` Rafael J. Wysocki
2023-12-13 10:52 ` Daniel Lezcano
0 siblings, 2 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2023-12-04 19:36 UTC (permalink / raw)
To: Linux PM
Cc: Daniel Lezcano, Lukasz Luba, LKML, Srinivas Pandruvada, Zhang Rui
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
The __thermal_zone_get_trip() header in drivers/thermal/thermal_core.h
is redundant, because there is one already in thermal.h, so drop it.
No functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
drivers/thermal/thermal_core.h | 2 --
1 file changed, 2 deletions(-)
Index: linux-pm/drivers/thermal/thermal_core.h
===================================================================
--- linux-pm.orig/drivers/thermal/thermal_core.h
+++ linux-pm/drivers/thermal/thermal_core.h
@@ -120,8 +120,6 @@ void __thermal_zone_device_update(struct
for (__trip = __tz->trips; __trip - __tz->trips < __tz->num_trips; __trip++)
void __thermal_zone_set_trips(struct thermal_zone_device *tz);
-int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id,
- struct thermal_trip *trip);
int thermal_zone_trip_id(struct thermal_zone_device *tz,
const struct thermal_trip *trip);
void thermal_zone_trip_updated(struct thermal_zone_device *tz,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] thermal: trip: Drop redundant __thermal_zone_get_trip() header
2023-12-04 19:36 [PATCH v1] thermal: trip: Drop redundant __thermal_zone_get_trip() header Rafael J. Wysocki
@ 2023-12-12 18:58 ` Rafael J. Wysocki
2023-12-13 10:52 ` Daniel Lezcano
1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2023-12-12 18:58 UTC (permalink / raw)
To: Linux PM
Cc: Daniel Lezcano, Lukasz Luba, LKML, Srinivas Pandruvada, Zhang Rui
On Mon, Dec 4, 2023 at 8:36 PM Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
>
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> The __thermal_zone_get_trip() header in drivers/thermal/thermal_core.h
> is redundant, because there is one already in thermal.h, so drop it.
>
> No functional impact.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
From the lack of comments I gather that this change is fine with
everyone, so I'm going to queue it up for 6.8.
Thanks!
> ---
> drivers/thermal/thermal_core.h | 2 --
> 1 file changed, 2 deletions(-)
>
> Index: linux-pm/drivers/thermal/thermal_core.h
> ===================================================================
> --- linux-pm.orig/drivers/thermal/thermal_core.h
> +++ linux-pm/drivers/thermal/thermal_core.h
> @@ -120,8 +120,6 @@ void __thermal_zone_device_update(struct
> for (__trip = __tz->trips; __trip - __tz->trips < __tz->num_trips; __trip++)
>
> void __thermal_zone_set_trips(struct thermal_zone_device *tz);
> -int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id,
> - struct thermal_trip *trip);
> int thermal_zone_trip_id(struct thermal_zone_device *tz,
> const struct thermal_trip *trip);
> void thermal_zone_trip_updated(struct thermal_zone_device *tz,
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] thermal: trip: Drop redundant __thermal_zone_get_trip() header
2023-12-04 19:36 [PATCH v1] thermal: trip: Drop redundant __thermal_zone_get_trip() header Rafael J. Wysocki
2023-12-12 18:58 ` Rafael J. Wysocki
@ 2023-12-13 10:52 ` Daniel Lezcano
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2023-12-13 10:52 UTC (permalink / raw)
To: Rafael J. Wysocki, Linux PM
Cc: Lukasz Luba, LKML, Srinivas Pandruvada, Zhang Rui
On 04/12/2023 20:36, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> The __thermal_zone_get_trip() header in drivers/thermal/thermal_core.h
> is redundant, because there is one already in thermal.h, so drop it.
>
> No functional impact.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> ---
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-13 10:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-04 19:36 [PATCH v1] thermal: trip: Drop redundant __thermal_zone_get_trip() header Rafael J. Wysocki
2023-12-12 18:58 ` Rafael J. Wysocki
2023-12-13 10:52 ` Daniel Lezcano
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).