2024-04-25 14:07:52

by Rafael J. Wysocki

[permalink] [raw]
Subject: [PATCH v1] thermal: trip: Add missing empty code line

From: Rafael J. Wysocki <[email protected]>

Add missing empty line of code to thermal_zone_trip_id().

Signed-off-by: Rafael J. Wysocki <[email protected]>
---
drivers/thermal/thermal_trip.c | 1 +
1 file changed, 1 insertion(+)

Index: linux-pm/drivers/thermal/thermal_trip.c
===================================================================
--- linux-pm.orig/drivers/thermal/thermal_trip.c
+++ linux-pm/drivers/thermal/thermal_trip.c
@@ -138,6 +138,7 @@ int thermal_zone_trip_id(const struct th
*/
return trip_to_trip_desc(trip) - tz->trips;
}
+
void thermal_zone_trip_updated(struct thermal_zone_device *tz,
const struct thermal_trip *trip)
{





2024-04-29 07:26:08

by Lukasz Luba

[permalink] [raw]
Subject: Re: [PATCH v1] thermal: trip: Add missing empty code line



On 4/25/24 15:07, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <[email protected]>
>
> Add missing empty line of code to thermal_zone_trip_id().
>
> Signed-off-by: Rafael J. Wysocki <[email protected]>
> ---
> drivers/thermal/thermal_trip.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: linux-pm/drivers/thermal/thermal_trip.c
> ===================================================================
> --- linux-pm.orig/drivers/thermal/thermal_trip.c
> +++ linux-pm/drivers/thermal/thermal_trip.c
> @@ -138,6 +138,7 @@ int thermal_zone_trip_id(const struct th
> */
> return trip_to_trip_desc(trip) - tz->trips;
> }
> +
> void thermal_zone_trip_updated(struct thermal_zone_device *tz,
> const struct thermal_trip *trip)
> {
>
>
>
>

Reviewed-by: Lukasz Luba <[email protected]>