Linux LED subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Ahmad Byagowi" <ahmadexp@gmail.com>
Cc: robh@kernel.org, linux-leds@vger.kernel.org,
	devicetree@vger.kernel.org, lee@kernel.org, conor+dt@kernel.org
Subject: Re: [RFC net-next v2 2/6] leds: rgb: Add IS32FL3207 controller driver
Date: Tue, 04 Aug 2026 20:50:57 +0000	[thread overview]
Message-ID: <20260804205058.69BA81F00A3E@smtp.kernel.org> (raw)
In-Reply-To: <20260803205011.1249-3-ahmadexp@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] The commit message uses a non-standard prefix for the LED subsystem.
- [Low] The driver's private data structure instance uses a generic name instead of the recommended convention.
--

--- Patch [2]: [RFC net-next v2 2/6] leds: rgb: Add IS32FL3207 controller driver ---
commit 85f9f1b2acee8fe8b7b8accc04c2fd34496cf682
Author: Ahmad Byagowi <ahmadexp@gmail.com>

leds: rgb: Add IS32FL3207 controller driver

This commit adds a generic I2C driver for the Lumissil IS32FL3207 18-channel
LED controller.

> leds: rgb: Add IS32FL3207 controller driver

[Severity: Low]
This isn't a bug, but does the commit message prefix follow the standard naming
conventions? The LED subsystem guidelines specify using leds: <Driver>:
<Capitalized description>. Would leds: is32fl3207: be a more appropriate
prefix here?

> diff --git a/drivers/leds/rgb/leds-is32fl3207.c b/drivers/leds/rgb/leds-is32fl3207.c
> new file mode 100644
> --- /dev/null
> +++ b/drivers/leds/rgb/leds-is32fl3207.c
[ ... ]
> @@ -424,6 +424,6 @@ static const struct regmap_config is32fl3207_regmap_config = {
>  static int is32fl3207_probe(struct i2c_client *client)
>  {
>  	struct device *dev = &client->dev;
>  	struct is32fl3207 *chip;

[Severity: Low]
This isn't a bug, but does this code use the recommended variable name for the
private data structure instance in is32fl3207_probe()? The LED subsystem
guidelines recommend using ddata instead of generic terms like chip or info.

>  	unsigned int count;

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260803205011.1249-1-ahmadexp@gmail.com?part=2

  reply	other threads:[~2026-08-04 20:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03 20:50 [RFC net-next v2 0/6] ptp: ocp: Add R4006 and V9 I2C peripheral support Ahmad Byagowi
2026-08-03 20:50 ` [RFC net-next v2 1/6] dt-bindings: leds: Add IS32FL3207 controller Ahmad Byagowi
2026-08-04 20:50   ` sashiko-bot
2026-08-03 20:50 ` [RFC net-next v2 2/6] leds: rgb: Add IS32FL3207 controller driver Ahmad Byagowi
2026-08-04 20:50   ` sashiko-bot [this message]
2026-08-03 20:50 ` [RFC net-next v2 3/6] i2c: mux: Propagate software nodes to channel adapters Ahmad Byagowi
2026-08-04 20:51   ` sashiko-bot
2026-08-03 20:50 ` [RFC net-next v2 4/6] ptp: ocp: Validate EEPROM board IDs Ahmad Byagowi
2026-08-04 13:55   ` Vadim Fedorenko
2026-08-04 21:07     ` Ahmad Byagowi
2026-08-04 20:50   ` sashiko-bot
2026-08-03 20:50 ` [RFC net-next v2 5/6] ptp: ocp: Add R4006 I2C peripheral topology Ahmad Byagowi
2026-08-04 20:50   ` sashiko-bot
2026-08-03 20:50 ` [RFC net-next v2 6/6] ptp: ocp: Add Time Card V9 " Ahmad Byagowi
2026-08-04 20:51   ` sashiko-bot

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=20260804205058.69BA81F00A3E@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=ahmadexp@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox