All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Dzmitry Sankouski <dsankouski@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Pavel Machek <pavel@ucw.cz>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-input@vger.kernel.org,
	linux-leds@vger.kernel.org
Subject: Re: [PATCH v6 7/7] leds: max77705: Add LEDs support
Date: Fri, 25 Oct 2024 09:55:23 +0100	[thread overview]
Message-ID: <20241025085523.GC10824@google.com> (raw)
In-Reply-To: <CABTCjFCtFbFht2ZyBADuxhOfHZqiUmNKnAu4rwAS=kNgdqeS+w@mail.gmail.com>

On Tue, 22 Oct 2024, Dzmitry Sankouski wrote:

> (...)
> > >  drivers/leds/leds-max77705.c | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Lol!  How big is your terminal? :)
> >
> 
> Dunno actually, this was generated by b4
> 
> (...)
> 
> 
> > No C++ comments please.
> >
> 
> This conflicts with https://patchwork.kernel.org/comment/25898728/

a) That's just for the header.
b) That's a different subsystem and Mark's choice.

> > > +             ret = regmap_update_bits(led->regmap,
> > > +                                     MAX77705_RGBLED_REG_LEDEN,
> > > +                                     MAX77705_LED_EN_MASK << led->en_shift, 0);
> > > +             max77705_rgb_blink(cdev, &blink_default, &blink_default);
> > > +     } else {
> > > +             // Set current
> > > +             ret = regmap_write(led->regmap,
> > > +                                led->reg_brightness, brightness);
> >
> > Line wrap at 100-chars.
> >
> 
> From coding-style.rst:
> `The preferred limit on the length of a single line is 80 columns.`
> I only exceed 80 chars, when there's no good wrapping.

a) This is old guidance
b) A lot of your lines already break the 80-char rule.

-- 
Lee Jones [李琼斯]

      reply	other threads:[~2024-10-25  8:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-07 15:55 [PATCH v6 0/7] Add support for Maxim Integrated MAX77705 MFD Dzmitry Sankouski
2024-10-07 15:55 ` [PATCH v6 1/7] power: supply: add undervoltage health status property Dzmitry Sankouski
2024-10-07 15:55 ` [PATCH v6 2/7] dt-bindings: mfd: add maxim,max77705 Dzmitry Sankouski
2024-10-07 20:07   ` Rob Herring (Arm)
2024-10-07 15:55 ` [PATCH v6 3/7] mfd: Add new driver for MAX77705 PMIC Dzmitry Sankouski
2024-10-15 14:02   ` Lee Jones
2024-10-21 15:04     ` Dzmitry Sankouski
2024-10-25  8:57       ` Lee Jones
2024-10-22  8:37     ` Dzmitry Sankouski
2024-10-07 15:55 ` [PATCH v6 4/7] input: max77693: add max77705 haptic support Dzmitry Sankouski
2024-10-07 15:55 ` [PATCH v6 5/7] power: supply: max77705: Add charger driver for Maxim 77705 Dzmitry Sankouski
2024-10-16  9:24   ` Uwe Kleine-König
2024-10-07 15:55 ` [PATCH v6 6/7] power: supply: max77705: Add fuel gauge " Dzmitry Sankouski
2024-10-10 20:45   ` kernel test robot
2024-10-11 11:34   ` kernel test robot
2024-10-11 19:23   ` kernel test robot
2024-10-07 15:55 ` [PATCH v6 7/7] leds: max77705: Add LEDs support Dzmitry Sankouski
2024-10-15 14:33   ` Lee Jones
2024-10-22 15:00     ` Dzmitry Sankouski
2024-10-25  8:55       ` Lee Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241025085523.GC10824@google.com \
    --to=lee@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dsankouski@gmail.com \
    --cc=krzk@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.