From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05D3A349B0A; Fri, 3 Jul 2026 21:21:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783113675; cv=none; b=PdAP5v1kJDgatEMqoVQsjqGdxzIWEu4rj82nadEwjes8pYdHryebhcAob7/FqboiFeGtZTunlndjONHZCW7ZWrz6NO8a7/bvXGzsQotiWAbWIkQ5LlZSeFhKHddi+BeGFJs67aflw2dH0gSF//GGev34T5oVK46fiFtkGQxq6VU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783113675; c=relaxed/simple; bh=LPhuVwz6mITfxSfO4u0zB50yB7mhelUpTEmHeN4Z6TU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bLZy/hqfGCnEYvNoA9uvPZ028Hv7Cnr4fxPt7kqAyBvzGcbdzA6H2POCXhSZtMgCsLhlNad+ib8YImHCJ/elnIt2Dz7R/Q7BWwF9dLsTJo4eou4OpEQ91ZzPMsBrhnLgIHy4Whrh4jEilbACdmwfmBYV/yQdydtLKZbE8xEx9xE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dgB949gc; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dgB949gc" Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 0D5F01F000E9; Fri, 3 Jul 2026 21:21:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783113673; bh=LPhuVwz6mITfxSfO4u0zB50yB7mhelUpTEmHeN4Z6TU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dgB949gcS8uPvxiZO0FNv2oIa/6xscvHAHzUVo7FE+7W57AYHQn/u0xMEbqOg0APv PjF7oL97Tc3Px5TwBJflQIAebY2GAg91dnRR3TuGxOSprLGcQessxSktUb5RDyrruC nbEz6CLABNaEX5tBAViPPCiZdLpjeafmDYsPYMBEIKfRNW1W+Yw1T4zExHhVSGAkW7 AvUpvU5Qj6GA9eszz/X5Lj1p1O9qCUAU4ILeofLwFrl2JeQiOX2k3WeFxfC4BTbdo4 prqLV9FgJS/a+OGmKrUgbG0XVSxejbzxoVVdWIqQOAuWp9BSYHZrrVBshWKqXJVxNn +xtfBu3ErbfEg== Date: Fri, 3 Jul 2026 23:21:10 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: linux-pwm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] pwm: mc33xs2410: Initialize spi_device_id arrays using member names Message-ID: References: <3fc7783506cc6429b8942cb7294926a6d4cb353e.1781885606.git.u.kleine-koenig@baylibre.com> Precedence: bulk X-Mailing-List: linux-pwm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yuek2e5cck6qqu2b" Content-Disposition: inline In-Reply-To: <3fc7783506cc6429b8942cb7294926a6d4cb353e.1781885606.git.u.kleine-koenig@baylibre.com> --yuek2e5cck6qqu2b Content-Type: text/plain; protected-headers=v1; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] pwm: mc33xs2410: Initialize spi_device_id arrays using member names MIME-Version: 1.0 On Fri, Jun 19, 2026 at 06:14:10PM +0200, Uwe Kleine-K=F6nig (The Capable H= ub) 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. >=20 > The mentioned robustness is relevant for a planned change to struct > spi_device_id that replaces .driver_data by an anonymous union. >=20 > This patch doesn't modify the compiled array, only its representation > in source form benefits. >=20 > Signed-off-by: Uwe Kleine-K=F6nig (The Capable Hub) Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-= next Best regards Uwe --yuek2e5cck6qqu2b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmpIJ8IACgkQj4D7WH0S /k6c6Qf8CiX7Jd7IWInoHGLm8GD2JOerntfYVyoc3HGMd5J8Qrm3+1i8BVuN/0iL 9AxPxQcHODrr3EZDlG1w8qqD7n8tAeqNU6CT5ig2Xn6Xzt4KOMD0gePFLg0KQ4l8 n6xIbFddIb72iqtx5dX2EdlY/S0us59azVDDUd5bY8xvAsGwNuE4jtgWLLkNjv/R hWwWiI5ARluQDMarsye8agxlfpFdVXlRBYzmr4XQKVa5ZoZOZFUdUn3rjJFSQyTq +QxXfY+dEmkQ+kewYckPLS9jr+MXO7irOVnjETmotq3mcA2GpGxlcGRw5vCTA/Jn LJRIn/MpWFppRdwEM2rR9CpQPFwTLw== =O/DY -----END PGP SIGNATURE----- --yuek2e5cck6qqu2b--