Skip to contentSkip to conversation

HWMON: Fixed comment error by checkpatch

PATCH Guenter Roeck 1 participant 1 message Apr 10, 2022 1 message not in the archive Hardware monitoring

lore
Share & tools
lore

Guenter Roeck

author maintainer
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · Ozgur

From 3a50310ab617aecd5b86378f07d2500bc86935d4 Mon Sep 17 00:00:00 2001
From: Ozgur <[email protected]>
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.

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

Quoted 20 lines
---
  drivers/hwmon/sch56xx-common.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
drivers/hwmon/sch56xx-common.c +3 -3
index 3ece53adabd6..6ed0908c6037 100644
@@ -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