Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: cy_huang@richtek.com
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/2] hwmon: (pmbus/rtq2886b) Add driver for Richtek RTQ2886B
Date: Mon, 30 Nov 2026 03:10:04 +0000	[thread overview]
Message-ID: <sashiko-outbox-240292@kernel.org> (raw)
In-Reply-To: <a38945fe8ff955a9585b273f2a5a8f0b52c001d0.1796005535.git.cy_huang@richtek.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] hwmon: (pmbus/rtq2886b) positional initializer in rtq2886b_id
--

commit 1a2a3df8ec61adbcea8332031ede52104c13b6a1
Author: ChiYuan Huang <cy_huang@richtek.com>

hwmon: (pmbus/rtq2886b) Add driver for Richtek RTQ2886B

This commit adds a PMBus hwmon driver for the Richtek RTQ2886B
synchronous buck regulator and its compatible derivatives (RTQ2880B and
RTQ2882B).

> diff --git a/drivers/hwmon/pmbus/rtq2886b.c b/drivers/hwmon/pmbus/rtq2886b.c
> new file mode 100644
> index 0000000000000..f197cbac4d976
> --- /dev/null
> +++ b/drivers/hwmon/pmbus/rtq2886b.c
> @@ -0,0 +1,117 @@

[ ... ]

> +static const struct i2c_device_id rtq2886b_id[] = {
> +	{ "rtq2886b" },
> +	{ }
> +};
> +MODULE_DEVICE_TABLE(i2c, rtq2886b_id);

[Severity: Low]
This isn't a bug, but new struct i2c_device_id entries should use named
initializers (such as { .name = "rtq2886b" }).

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/6420e55349f8dfbc5d72408ec07bc58286fe3f10.1796005535.git.cy_huang@richtek.com?part=2

      reply	other threads:[~2026-11-30  3:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  3:01 [PATCH 0/2] hwmon: pmbus: Add support for Richtek RTQ2886B cy_huang
2026-11-30  3:01 ` [PATCH 1/2] dt-bindings: hwmon: pmbus/rtq2886b: Add Richtek RTQ2886B support cy_huang
2026-11-30  3:10   ` sashiko-bot
2026-11-30  3:01 ` [PATCH 2/2] hwmon: (pmbus/rtq2886b) Add driver for Richtek RTQ2886B cy_huang
2026-11-30  3:10   ` sashiko-bot [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=sashiko-outbox-240292@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cy_huang@richtek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-hwmon@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