Re: Fw:[PATCH] mfd: Clean up errors in lm3533.h

From: Lee Jones
Date: Wed Jan 10 2024 - 07:54:25 EST


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@xxxxxxx>

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 [李琼斯]