Skip to contentSkip to conversation

thermal: of: fix trailing whitespace and repeated word

PATCH Applied Mayur Kumar 2 participants 2 messages May 11 – May 18 Thermal

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: of: fix trailing whitespace and repeated word

Correct a trailing whitespace error on line 101 and remove a duplicated "which" in the kernel-doc comment for thermal_of_zone_register.

---
 drivers/thermal/thermal_of.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/thermal/thermal_of.c +2 -2
index 99085c806a1..75fb7663c50 100644
@@ -98,7 +98,7 @@ static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *n
 	int ret, count;
 
 	*ntrips = 0;
-	
+
 	struct device_node *trips __free(device_node) = of_get_child_by_name(np, "trips");
 	if (!trips)
 		return NULL;
@@ -494,7 +494,7 @@ EXPORT_SYMBOL_GPL(devm_thermal_of_zone_register);
 /**
  * devm_thermal_of_zone_unregister - Resource managed version of
  *				thermal_of_zone_unregister().
- * @dev: Device for which which resource was allocated.
+ * @dev: Device for which resource was allocated.
  * @tz: a pointer to struct thermal_zone where the sensor is registered.
  *
  * This function removes the sensor callbacks and private data from the
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Mayur Kumar

Correct a trailing whitespace error on line 101 and remove a duplicated "which" in the kernel-doc comment for thermal_of_zone_register.

---

Applied, thanks