From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EB8F364022 for ; Sat, 16 May 2026 06:12:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778911932; cv=none; b=XXveMk+7SsQe1D2vsQIIgajIJqKhXFqAI/sUOh+igipcD6qse6LiGTi5GfcBnuifuJdtCU7sdTAGMUfXTBOWSHym3RHHIWSXPek7Vl/fNU70jnVYiWn9QjQuear0bu+0UwdvL68ZWTEaHsmYwo9aaHwajorBB60ScvQUC34ft5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778911932; c=relaxed/simple; bh=4yYhdbMRVR+CRAUgoSq49OIwIUWB/tSKLi036gr3kHI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YDqw+MjTWm5KrcK5TBfM/+i6ImldrdkBdpBx7+Sh6FhQiy5FrLAYRItlwP9JkAdp74ym8Seb+Qx8f93PG4LSkUa9El+L29edWIXySDt4G1UJ/bhAiuzjQnsBdtfkELJ6hE0n5ojh+KRKqfktclsWFWt+h0CXG1vSZVP5+GwfV0k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b=cKod9z8A; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b="cKod9z8A" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-44a044cb827so286470f8f.0 for ; Fri, 15 May 2026 23:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1778911929; x=1779516729; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0HSemYvAyg7oF7KkWKvgahNXBgqxEPfiGmMTx54Opx8=; b=cKod9z8AXyIautmjXjmiORXxfKBzHs+Qx2mB0x3G+6ZRy9wbi7+gG6UTfMzQbBhukj cCZVgiIVfLlV676Wb0nuU2gvmD191MatnYdDrTi9s4EEUj8z6dX3I9FEtl78ZoxXQPlQ ixbGqTzzNTtTcjqS26wDMWO+NrtgO27g2kd/lNy7bdJMD/z1e4EhZUAWMeGXkwt1OmQW nC0cBKKVvdFtqZ328PUw6c/FmsZs07HyyTrOBsnHn4lHN1RwT2tZ/FghZcbHSDeUv+3l bZdYx5mmWOiihFRMlERNWfAE/Sr3nkrlTQDeUms+7wjfT29rElJ9ofYLtgrmQSFlhJ51 SBww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778911929; x=1779516729; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0HSemYvAyg7oF7KkWKvgahNXBgqxEPfiGmMTx54Opx8=; b=MMXsZijZds/SrHTzuzlHfB4d1E3+zfX7ujdJByW3sw73hDfcghKWX6PZyhdncLKspf jbcXKh7lWYf8P5DMNR1gsNl1MNhoPPevdTO0F+VE+9dG4rzABQIerDph0sehtfFTnIXK hBTspj9fnG+N9VFU63U0eY4r3RtBzxJsJmSf6IaU+xxBSRTETrBYfoCgajpSb5LQ/tV7 LvcIcI0719PtcBUcXOu508YSOhwUnjzYlpbBNOYegYfZtP3XW4U6Kuo6b83ep4lx1Nlo CKR0n4lRqWrN/DSVmbIu85ixMc7TZJ5e7NCzG89bExplL8Bl0tEoX/qQ0ZPS6W93uC3C MUAA== X-Forwarded-Encrypted: i=1; AFNElJ9MyHot81MceYU+EtEeV09JOtoac6x7KLrAcqNSgRcoGObU2nm8ownybWoDPtXDHw0KC3SXWzUSsOQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyEH68ESAiwSRS1zr0Fx3XV86b0NZhJkwT6N5HhZjHm5OaYu6aI FVjtFPOdCWnTtJFJWrZfluOlo4VwBxTTpslDzIWr0RrsNNnXfiMe9rxbZkgBcNexrSM= X-Gm-Gg: Acq92OFWXrmD1VG4GL+DgOmfFZNobe6UHpu+KEABG6z5EDderTweZmT6Z8mVNic6WlH XhB9EuVihPmjYn2Vzsosn1bu5cKg8SIwU9lyD7H28oP9VubQnwWgvP2Fre8yy8kU6QKr9dWBuhT S8v0gzUDxBH01QEVKyv6pw0OiUEvI3FjLn93/TjhUgK7F7DsmaYqif08PQ78SkzF0S7UyVbfNPm tkGgAd4GlMtYO302iuOYHHGKvvAj1LDCA6OoyIO663qaIlT/ZNxGD3inuKfFtJguJDswvM8J/vf 9cVVm+YQO4DP227b4T7y1q0FYxb2VWfx67BEAPPPOo4tChxVCUP18hwI0UtVXCEAlfnfH6aB2sf sZrEWBA0qvnOvp9khgR4rDlLLN3/1lIhOWxOl21/3e5uXBh14ZoM+bf27xZ3gHUK1xTFjegADCE s2MjvFGbjjuYh7RsYohS41hajYcMhPr23v/xvdfmU= X-Received: by 2002:a05:6000:1ac7:b0:43f:e272:edff with SMTP id ffacd0b85a97d-45e5c57d308mr9641215f8f.4.1778911928801; Fri, 15 May 2026 23:12:08 -0700 (PDT) Received: from localhost ([2a02:8071:56d1:2de0:1d24:d58d:2b65:c291]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-45d9ed2f738sm19944411f8f.16.2026.05.15.23.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2026 23:12:08 -0700 (PDT) Date: Sat, 16 May 2026 08:12:06 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig_=28The_Capable_Hub=29?= To: Lee Jones Cc: Markus Schneider-Pargmann , Michael Hennerich , Chen-Yu Tsai , Marek Vasut , James Ogletree , Fred Treven , Ben Bright , Support Opensource , Andy Shevchenko , Charles Keepax , Richard Fitzgerald , Chanwoo Choi , Krzysztof Kozlowski , =?utf-8?B?QW5kcsOp?= Draszik , Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Samuel Kayode , Maxime Coquelin , Alexandre Torgue , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-sound@vger.kernel.org, linux-omap@vger.kernel.org, imx@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: Re: [PATCH v1] mfd: Use named initializers for arrays of i2c_device_data Message-ID: References: <20260515095839.4005460-2-u.kleine-koenig@baylibre.com> Precedence: bulk X-Mailing-List: linux-i2c@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="2sdvcea3fsfmjq6y" Content-Disposition: inline In-Reply-To: <20260515095839.4005460-2-u.kleine-koenig@baylibre.com> --2sdvcea3fsfmjq6y Content-Type: text/plain; protected-headers=v1; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v1] mfd: Use named initializers for arrays of i2c_device_data MIME-Version: 1.0 On Fri, May 15, 2026 at 11:58:39AM +0200, Uwe Kleine-K=F6nig (The Capable H= ub) wrote: > diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c > index 6a7b7a697fb7..fb23d5ed1f26 100644 > --- a/drivers/mfd/tps65910.c > +++ b/drivers/mfd/tps65910.c > @@ -518,8 +518,8 @@ static int tps65910_i2c_probe(struct i2c_client *i2c) > } > =20 > static const struct i2c_device_id tps65910_i2c_id[] =3D { > - { "tps65910", TPS65910 }, > - { "tps65911", TPS65911 }, > + { .name =3D "tps65910", .driver_data =3D TPS65910 }, > + { .name =3D "tps65911", .driver_data =3D TPS65911 }, > { } > }; > =20 The indention in this hunk uses spaces instead of tabs (both with and without my patch). I fixed that in my tree, so if it comes to a v2 the indention will be fixed there. > [...] > diff --git a/drivers/mfd/wm8400-core.c b/drivers/mfd/wm8400-core.c > index 8ecfe878a5ba..1c0ba450ef9b 100644 > --- a/drivers/mfd/wm8400-core.c > +++ b/drivers/mfd/wm8400-core.c > @@ -135,7 +135,7 @@ static int wm8400_i2c_probe(struct i2c_client *i2c) > } > =20 > static const struct i2c_device_id wm8400_i2c_id[] =3D { > - { "wm8400" }, > + { .name =3D "wm8400" }, > { } > }; > =20 ditto. Best regards Uwe --2sdvcea3fsfmjq6y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmoICrIACgkQj4D7WH0S /k7niwf+L8OYV1m8gjYa2gWHbcQnsCJgzdFKCpbXliu2T5EWq+pQK9qpV9Z1VizU c2aUOPFJ5EiekEJu5DCu2EP0hYSk7XVsIzj1X6S2yAUDcUn5KFqmgkRAQsZKxRUN To4/9O43tr+/WYuyUT/kM1mZFYHw3kubucsATq5rprulQ8SwNsFWG1hADna3KAHe VE+iBDWGgcWuextWGVmh9DL+KyuYXcHSYZ6jwMkUkzdTGE6XIJeZ4AgCXM5X6wl/ 9G5OpBfgo0IXSCrfxQRCx2Rq617B5x7i9u3851/XC/G8l04/lZOsk8vW92H4tVvR IqdTaRQtvMJ/Itv6B4DadpEPZbkW2g== =AyjU -----END PGP SIGNATURE----- --2sdvcea3fsfmjq6y--