[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230409183549.12683-1-savicaleksa83@gmail.com>
Date: Sun, 9 Apr 2023 20:35:49 +0200
From: Aleksa Savic <savicaleksa83@...il.com>
To: linux-hwmon@...r.kernel.org
Cc: Aleksa Savic <savicaleksa83@...il.com>,
Jack Doan <me@...kdoan.com>, Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Leonard Anderweit <leonard.anderweit@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] hwmon: (aquacomputer_d5next) Fix alignment of function call params
checkpatch warns that alignment of parameters of function call around
line 869 is off. Indent them properly.
Fixes: 6f5cdf9b9a86 ("hwmon: (aquacomputer_d5next) Add fan PWM control for Aquaero")
Signed-off-by: Aleksa Savic <savicaleksa83@...il.com>
---
drivers/hwmon/aquacomputer_d5next.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hwmon/aquacomputer_d5next.c b/drivers/hwmon/aquacomputer_d5next.c
index 3bd35d833e69..7db7769fe044 100644
--- a/drivers/hwmon/aquacomputer_d5next.c
+++ b/drivers/hwmon/aquacomputer_d5next.c
@@ -867,8 +867,8 @@ static int aqc_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
switch (priv->kind) {
case aquaero:
ret = aqc_get_ctrl_val(priv,
- AQUAERO_CTRL_PRESET_START + channel * AQUAERO_CTRL_PRESET_SIZE,
- val, AQC_BE16);
+ AQUAERO_CTRL_PRESET_START +
+ channel * AQUAERO_CTRL_PRESET_SIZE, val, AQC_BE16);
if (ret < 0)
return ret;
*val = aqc_percent_to_pwm(*val);
--
2.39.2
Powered by blists - more mailing lists