From: Vinod Koul <vkoul@kernel.org>
To: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] phy: nxp-ptn3222: Use named initializers for struct i2c_device_id
Date: Thu, 11 Jun 2026 21:05:29 +0530 [thread overview]
Message-ID: <178119212906.568088.4380025411379874938.b4-ty@kernel.org> (raw)
In-Reply-To: <20260519151957.1593214-2-u.kleine-koenig@baylibre.com>
On Tue, 19 May 2026 17:19:57 +0200, Uwe Kleine-König (The Capable Hub) wrote:
> While being less compact, using named initializers allows to more easily
> see which members of the structs are assigned which value without having
> to lookup the declaration of the struct. And it's also more robust
> against changes to the struct definition.
>
> This patch doesn't modify the compiled arrays, only their representation
> in source form benefits. The former was confirmed with x86 and arm64
> builds.
>
> [...]
Applied, thanks!
[1/1] phy: nxp-ptn3222: Use named initializers for struct i2c_device_id
commit: 4904117935319233b1ec8f0528560dc91e8ae4c2
Best regards,
--
~Vinod
prev parent reply other threads:[~2026-06-11 15:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 15:19 Uwe Kleine-König (The Capable Hub)
2026-06-10 17:21 ` Uwe Kleine-König (The Capable Hub)
2026-06-11 15:35 ` Vinod Koul [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=178119212906.568088.4380025411379874938.b4-ty@kernel.org \
--to=vkoul@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=u.kleine-koenig@baylibre.com \
/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
all inboxes | Powered by JetHome®