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

Rafael J. Wysocki posted 1 patch 1 year, 9 months ago
drivers/thermal/thermal_trip.c |    1 +
1 file changed, 1 insertion(+)
[PATCH v1] thermal: trip: Add missing empty code line
Posted by Rafael J. Wysocki 1 year, 9 months ago
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Add missing empty line of code to thermal_zone_trip_id().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
 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)
 {
Re: [PATCH v1] thermal: trip: Add missing empty code line
Posted by Lukasz Luba 1 year, 9 months ago

On 4/25/24 15:07, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> 
> Add missing empty line of code to thermal_zone_trip_id().
> 
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> ---
>   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 <lukasz.luba@arm.com>