From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1877D606A31C for ; Mon, 30 Nov 2026 08:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=q7YsHvAJ; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kucoXTY8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:References:To:From:Cc:Subject:Message-Id:Date:Mime-Version: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=f0o2G3AEZFIeKjS7ilw/53vtzgKLZBkuMYKHG2vaPeg=; b=q7YsHvAJosRAg4+A6A9+N8Kfh8 T6pYLQ5hGZSI4Xra6zJl3zrhQFnL3lCeuj6l1hnDHXh6b9r2AC1K/z6VTXFot2QOpKXxqoaUbXRFp OP7pupLyO1sMDp2JMh2d/yVOPKHpvXNoByZEHQwzkkeq1hTUdaPnlLVZ6alctcoEvMU+Iw6N1wu7i dlg2zE4VyovlgpOqdFJO0obcxCVEjXDLc3IqPWdnD7h9f8bxKWS5spUuPmek1try6w8YJhHNcrqbs FXAQC151k5Wrt2aAS8kM/e6hGRMbxI7fX33hQ9ZlLq+5ojNcr92LswN7aNMUVeNAkifhdj521LQwK K550mgYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXwVC-00000003iF9-3MJM; Mon, 30 Nov 2026 08:12:46 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXwV8-00000003iEJ-42XT; Mon, 30 Nov 2026 08:12:43 +0000 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-Archived-By: Mime-Version: 1.0 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-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7354250148711960608==" Sender: "linux-mtd" X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,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 --===============7354250148711960608== Content-Type: multipart/signed; boundary=cf2a938589bdecf375de781feb8dc6d41263f04860b6840a36f946601c68; micalg=pgp-sha384; protocol="application/pgp-signature" --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-- --===============7354250148711960608== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ --===============7354250148711960608==--