[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240110125355.GH7948@google.com>
Date: Wed, 10 Jan 2024 12:53:55 +0000
From: Lee Jones <lee@...nel.org>
To: chenxb <chenxb_99091@....com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Fw:[PATCH] mfd: Clean up errors in lm3533.h
On Wed, 10 Jan 2024, chenxb wrote:
Subject should be:
"mfd: lm3533: Remove superfluous whitespace in DEVICE_ATTR()
> Fix the following errors reported by checkpatch:
>
>
No double line spaces required.
> ERROR: space prohibited before that ',' (ctx:WxW)
>
> Signed-off-by: GuoHua Chen <XueBing Chen@...i.cn>
That does not look like a correct email address.
> ---
> include/linux/mfd/lm3533.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/mfd/lm3533.h b/include/linux/mfd/lm3533.h
> index 77092f6363ad..14fde840af67 100644
> --- a/include/linux/mfd/lm3533.h
> +++ b/include/linux/mfd/lm3533.h
> @@ -13,7 +13,7 @@
> #define LM3533_ATTR_RO(_name) \
> DEVICE_ATTR(_name, S_IRUGO, show_##_name, NULL)
> #define LM3533_ATTR_RW(_name) \
> - DEVICE_ATTR(_name, S_IRUGO | S_IWUSR , show_##_name, store_##_name)
> + DEVICE_ATTR(_name, S_IRUGO | S_IWUSR, show_##_name, store_##_name)
>
> struct device;
> struct regmap;
> --
> 2.17.1
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists