[PATCH 1/2] i2c: i2c-core-acpi: use named initializers for acpi_device_id
Thierry Reding
thierry.reding at kernel.org
Tue Oct 13 08:51:03 PDT 2026
On Tue, Oct 13, 2026 at 05:48:58PM +0200, Thierry Reding wrote:
> On Fri, Sep 18, 2026 at 02:01:50PM +0100, Pawel Zalewski wrote:
> > Use a designated initializer for the acpi_device_id fields which makes the
> > code more readable and consistent with how lists are initialized in the
> > rest of the kernel code base. Also drop explicitly setting fields to 0
> > where it is redundant.
> >
> > Unify the list terminator to have a single space between the brackets and
> > no trailing comma.
> >
> > Signed-off-by: Pawel Zalewski <pzalewski at thegoodpenguin.co.uk>
> > ---
> > drivers/i2c/i2c-core-acpi.c | 14 +++++++-------
> > 1 file changed, 7 insertions(+), 7 deletions(-)
>
> Reviewed-by: Thierry Reding <treding at nvidia.com>
Nevermind, I realized too late that this popped up in my inbox because
of Andi's message saying the patches were applied.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261013/d5ea9c12/attachment.sig>
More information about the linux-arm-kernel
mailing list