lkml.org 
[lkml]   [2022]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] HWMON: Fixed comment error by checkpatch
From
On 4/10/22 16:07, Ozgur wrote:
> From 3a50310ab617aecd5b86378f07d2500bc86935d4 Mon Sep 17 00:00:00 2001
> From: Ozgur <ozgur@linux.com>
> 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@linux.com>

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

\
 
 \ /
  Last update: 2022-04-11 01:31    [W:0.074 / U:2.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site