From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 528DC606A320 for ; Mon, 30 Nov 2026 08:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kucoXTY8 Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4jdGwY4f6gz2xnQ; Mon, 30 Nov 2026 19:12:45 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=172.105.4.254 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1796026365; cv=none; b=UE1qMRMZzF9ihWQpPF8+ME9sJQAyQCAnpSjmMndRUYOvmVsAjf+srxm/93fIYmjGg7xQsZblpvq3M9GV4ho/Npdp7sBdLxfRmb7weBOlzoyKpdSOUKRpGNYr4npuPV2+YPTEd8sbL7KjpxT0ry43tmpKLGShFDVIbiaWfLDRkCf0EUsr5Uy9XI0bB/dOgD3lWN4qCfYIEK734IbQ7z+2fLOoBju2v0zMMDg/v5ug5B3ioeR6YnHudcHjwO2y06qSD2+k2l6K52GIe0ngcUT8/lGGF6U8hEpJhESBHpltAEpCgv2vUJ1jGv3RE7LS/YuKG+I4+xR5bnuZHa430/VOWw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1796026365; c=relaxed/relaxed; bh=O39ZKpbFj3O0eqYOJQi5U9Ldrc4sdVwXOprFVcwRYpA=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:From:To: References:In-Reply-To; b=NCFwgik8QMw2F/7ZYCvUOxRPmJ8yl9xnJXtCB7GtMlvMGgFqoEG6H3PH3j4IH2RWd1axB/3YEdhgxjVINJ4VZuVNbS5VesI5irMSFQ78vTWRnkfniKTwB6bbzv8dR/bDBbtPXYWPs7RqrnVlBQsDPvl0c16HvsvAy/ZPTgcHFpD8IEzg+m5odx5MbnnKg8Fkz2kPC7XDXt+CJRXBydVCVQXkLbZtKdsndbgYdd3u/rQhXlai6TfQolIAXwnsm0NuQzRb5Okt7/35HajpuMz7L457oOQFjyI8/HQjaZg5n2Z/tJnkVfFpw+P5FdEqTDCP8wn4/MuHaoH0xZwVW4Hn3g== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kucoXTY8; dkim-atps=neutral; spf=pass (client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=mwalle@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kucoXTY8; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=mwalle@kernel.org; receiver=lists.ozlabs.org) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with UTF8SMTPS id 4jdGwX4whvz2xH7 for ; Mon, 30 Nov 2026 19:12:44 +1100 (AEDT) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with UTF8SMTP id 2491561200; Mon, 30 Nov 2026 08:12:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 3960E1F00897; Mon, 30 Nov 2026 08:12:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796026361; bh=O39ZKpbFj3O0eqYOJQi5U9Ldrc4sdVwXOprFVcwRYpA=; h=Date:Subject:Cc:From:To:References:In-Reply-To; b=kucoXTY8hsfY+/VFMyKkA3PHBCnYyUvklRx5qoQTmH/cs3pizHHRab1o11Z3xfOJi f4I/QX2UXbAojqBtQQXMumpCadXkspkhAz1ceBuM5iM7Z8MTJ2Is2hR0h+hEgTayqG ixBn9G3e6H+I0QftNuMhcpUFNG/QfiHOfjqfUkKlukY/xiPKPzTdH0VcUwrTmqHVIf F+0CFtIcO15xAkhJpBex53XF6m6lSvgQx2GkhFe5sZuJQKtaTEzwUkbswneoP+gSfH YJjuUrA6QDFHQpAf240aGTdw8dAqOX0nkLU3PZCCTgIRJaZUufK3KVa6pg5kMupCZ0 P/2wlTl5psrJg== X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , Precedence: list X-Archived-By: Mime-Version: 1.0 Content-Type: multipart/signed; boundary=cf2a938589bdecf375de781feb8dc6d41263f04860b6840a36f946601c68; micalg=pgp-sha384; protocol="application/pgp-signature" Date: Mon, 30 Nov 2026 09:12:37 +0100 Message-Id: Subject: Re: [PATCH 02/10] mtd: spi-nor: Use named initializers for spi_device_id Cc: , , , , , , , , , , , , , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= From: "Michael Walle" To: "Pawel Zalewski" , "Miquel Raynal" , "Richard Weinberger" , "Vignesh Raghavendra" , "Pratyush Yadav" , "Takahiro Kuwano" , "Vladimir Zapolskiy" , "Robert Jarzmik" , "Alexander Usyskin" , "Joern Engel" , "Madhavan Srinivasan" , "Michael Ellerman" , "Nicholas Piggin" , "Christophe Leroy (CS GROUP)" , "Ritesh Harjani (IBM)" , "Shrikanth Hegde" , "Michal Simek" , "Nicolas Ferre" , "Alexandre Belloni" , "Claudiu Beznea" , "Brian Norris" , "Kamal Dasu" , "Broadcom internal kernel review list" , "William Zhang" , "Anand Gore" , "Kursad Oney" , "Florian Fainelli" , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , "Ray Jui" , "Scott Branden" , "Han Xu" , "Paul Cercueil" , "Harvey Hunt" , "Keguang Zhang" , "Piotr Wojtaszczyk" , "Liang Yang" , "Neil Armstrong" , "Kevin Hilman" , "Jerome Brunet" , "Martin Blumenstingl" , "Matthias Brugger" , "AngeloGioacchino Del Regno" , "Frank Li" , "Sascha Hauer" , "Pengutronix Kernel Team" , "Fabio Estevam" , "Manivannan Sadhasivam" , "Heiko Stuebner" , "Maxime Coquelin" , "Alexandre Torgue" , "Chen-Yu Tsai" , "Jernej Skrabec" , "Samuel Holland" , "Stefan Agner" , "Lucas Stach" , "Thierry Reding" , "Jonathan Hunter" , "Jacky Huang" , "Shan-Chun Hung" , "Tudor Ambarus" , "Linus Walleij" , "Kyungmin Park" X-Mailer: aerc 0.20.0 References: <20261125-acpi-mtd-v1-0-42ad2f645bee@thegoodpenguin.co.uk> <20261125-acpi-mtd-v1-2-42ad2f645bee@thegoodpenguin.co.uk> In-Reply-To: <20261125-acpi-mtd-v1-2-42ad2f645bee@thegoodpenguin.co.uk> X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 --cf2a938589bdecf375de781feb8dc6d41263f04860b6840a36f946601c68 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Wed Nov 25, 2026 at 5:28 PM CET, Pawel Zalewski wrote: > Use a designated initializer for the spi_device_id fields which makes the > code more readable and consistent with how lists are initialized in the > rest of the kernel code base. > > Put every list item on a new line and unify the list terminator to have > a single space between the brackets and no trailing comma. Honestly, this is old legacy code and it's not expected that there will be any new entries. And I'm not sure this improves readability. Since they don't use the data pointers, this is not really needed for the conversion, correct? -michael --cf2a938589bdecf375de781feb8dc6d41263f04860b6840a36f946601c68 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iKgEABMJADAWIQTIVZIcOo5wfU/AngkSJzzuPgIf+AUCaw0v9hIcbXdhbGxlQGtl cm5lbC5vcmcACgkQEic87j4CH/ikCwF/Qlkl1ihgjOQMaGJ59Z/918P8NrFzf02y +HtYgmkhg4fOhH/94WCjzPbV+YBKPjGhAYDN36VLSr1oRZtoRbNC9E6fda7Zvwoe R81eL27PB2EvKI3lJKaMPuXwnt4m/lp2Zk8= =CKVS -----END PGP SIGNATURE----- --cf2a938589bdecf375de781feb8dc6d41263f04860b6840a36f946601c68--