From: Valentine Fatiev <valentinef@nvidia.com>
Subject: [PATCH] BACKPORT: drivers/net/ethernet/mellanox/mlx5/core/hwmon.c

Change-Id: I16f56794318f1f06e61e109cce17871cfe67c488
---
 drivers/net/ethernet/mellanox/mlx5/core/hwmon.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

--- a/drivers/net/ethernet/mellanox/mlx5/core/hwmon.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/hwmon.c
@@ -1,6 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
 // Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved
 
+
+
 #include <linux/hwmon.h>
 #include <linux/bitmap.h>
 #include <linux/mlx5/device.h>
@@ -142,14 +144,17 @@ static umode_t mlx5_hwmon_is_visible(con
 }
 
 static int mlx5_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
-				  int channel, const char **str)
+				  int channel,
+				  const char **str)
 {
 	struct mlx5_hwmon *hwmon = dev_get_drvdata(dev);
 
 	if (type != hwmon_temp || attr != hwmon_temp_label)
 		return -EOPNOTSUPP;
 
-	*str = (const char *)hwmon->temp_channel_desc[channel].sensor_name;
+	*str =
+		(const char *)
+		hwmon->temp_channel_desc[channel].sensor_name;
 	return 0;
 }
 
