Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Kim Seer Paller" <kimseer.paller@analog.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 3/4] dt-bindings: iio: dac: add support for AD3532R/AD3532
Date: Mon, 29 Jun 2026 10:03:06 +0000	[thread overview]
Message-ID: <20260629100306.C68431F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260629-iio-ad3532r-support-v3-3-f6e4f4abebbe@analog.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit message for the refactoring patch claims to 'Switch spi_device_id to named initializers', but this change was never actually implemented in the code.
--

commit 2f85a102e878e53764e40f42a40c71a43b98d329
Author: Kim Seer Paller <kimseer.paller@analog.com>

dt-bindings: iio: dac: add support for AD3532R/AD3532

This commit adds support for the AD3532 and AD3532R 16-channel DACs.
It updates the device tree binding description and adds the corresponding
compatible strings for the new variants.

> dt-bindings: iio: dac: add support for AD3532R/AD3532
>
> The AD3532R/AD3532 is a 16-channel version of the AD3530R/AD3530.
> This adds compatible strings for the AD3532R/AD3532.

[Severity: Medium]
Are we missing the change to switch spi_device_id to named initializers?

The commit message for the refactoring patch claims to 'Switch spi_device_id
to named initializers', but this change was never actually implemented in the
code.

Looking at ad3530r_id in drivers/iio/dac/ad3530r.c, the array remains
populated with positional initializers with type casts:

static const struct spi_device_id ad3530r_id[] = {
	{ "ad3530", (kernel_ulong_t)&ad3530_chip },
	{ "ad3530r", (kernel_ulong_t)&ad3530r_chip },

Is there a missing patch in this series where the named initializers are
actually applied?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260629-iio-ad3532r-support-v3-0-f6e4f4abebbe@analog.com?part=3

  reply	other threads:[~2026-06-29 10:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29  8:31 [PATCH v3 0/4] Add support for AD3532R/AD3532 Kim Seer Paller
2026-06-29  8:31 ` [PATCH v3 1/4] iio: dac: ad3530r: Refactor setup to table-driven register bank approach Kim Seer Paller
2026-06-29  9:42   ` sashiko-bot
2026-06-29 13:57   ` Andy Shevchenko
2026-06-29 18:18     ` Jonathan Cameron
2026-06-29  8:31 ` [PATCH v3 2/4] iio: ABI: add DAC 10kohm_to_gnd powerdown mode Kim Seer Paller
2026-06-29  9:54   ` sashiko-bot
2026-06-29  8:31 ` [PATCH v3 3/4] dt-bindings: iio: dac: add support for AD3532R/AD3532 Kim Seer Paller
2026-06-29 10:03   ` sashiko-bot [this message]
2026-06-29  8:31 ` [PATCH v3 4/4] iio: dac: ad3530r: Add " Kim Seer Paller
2026-06-29 10:15   ` sashiko-bot
2026-06-29 14:34   ` Andy Shevchenko
2026-06-29 18:26   ` Jonathan Cameron

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=20260629100306.C68431F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kimseer.paller@analog.com \
    --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