Re: [PATCH] HWMON: Fixed comment error by checkpatch

From: Guenter Roeck
Date: Sun Apr 10 2022 - 19:29:54 EST


On 4/10/22 16:07, Ozgur wrote:
From 3a50310ab617aecd5b86378f07d2500bc86935d4 Mon Sep 17 00:00:00 2001
From: Ozgur <ozgur@xxxxxxxxx>
Date: Mon, 11 Apr 2022 02:55:47 +0400
Subject: [PATCH] HWMON: Fixed comment error by checkpatch
Fixed a coding style issue and checkpatch errors.
Signed-off-by: Ozgur <ozgur@xxxxxxxxx>

Please,
- Do not send corrupted patches.
- Follow patch submission guidelines when sending patches.
- Do not send patches fixing cosmetic issues like this one
without making other relevant changes.

Guenter

---
 drivers/hwmon/sch56xx-common.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/hwmon/sch56xx-common.c b/drivers/hwmon/sch56xx-common.c
index 3ece53adabd6..6ed0908c6037 100644
--- a/drivers/hwmon/sch56xx-common.c
+++ b/drivers/hwmon/sch56xx-common.c
@@ -430,8 +430,9 @@ void sch56xx_watchdog_register(struct device *parent, u16 addr, u32 revision,
                set_bit(WDOG_HW_RUNNING, &data->wddev.status);
        /* Since the watchdog uses a downcounter there is no register to read
-          the BIOS set timeout from (if any was set at all) ->
-          Choose a preset which will give us a 1 minute timeout */
+        * the BIOS set timeout from (if any was set at all) ->
+        * Choose a preset which will give us a 1 minute timeout
+        */
        if (control & SCH56XX_WDOG_TIME_BASE_SEC)
                data->watchdog_preset = 60; /* seconds */
        else
--
2.30.2