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 46410357CF7 for ; Thu, 11 Jun 2026 15:35:30 +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=1781192133; cv=none; b=jjTNY+9wRPnPg59baBfq7HaJa5B+dS7K1IB38eZBRLAngflqHMXOqeTPSdex+fGdz9e9Th/cXi/lKeDFTSR8HZFK34S4ZeiRbKJAa3qWrGfmM9xmb83uhlFvkAL9C69xM7eGI2ZlrHfKmVunSL8Lgz5pVBh5gzPx7JFH2XLwm1c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781192133; c=relaxed/simple; bh=Hb/CXfmM1EIi2qn2IoGesB/p6AcSciVbeqqWLc2yU4s=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=dpZ6JVzJVL3UtufnQ/L6K68fa08ia2VZAifi8A4ui5w+mwupuNftcI7ZyPC63umG9mzK4GJJ55YucCOMZhpeCN32QirOfz0B9sN2DuM58T65waWVF0neqPZQjTdpINqpgSRp8f3EfHPkQm9OoQAqoCS9YSV2DrQrfMWuj7DWJZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FNEKV4Az; 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="FNEKV4Az" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C22A1F00899; Thu, 11 Jun 2026 15:35:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781192130; bh=qK/QoqfAojcInEKx7Zf6ecG7nrM/+3GrwVu81ovaSR0=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=FNEKV4Az8AasAX4zazd1x1589P00pLgmR8p1Pwnmnk/R34qB3m1N8zwcn+9EDiszU toci8tPm3YYB/dc009s084w4wPTAnRWeZWo5qZQaLWBYIBkB1mwr243dopymheqwYc HkcaQqnehpViX1PlYBo2GaZfOVZfc+2jHouhBEcPIKW1vyhG07swewDiHPkZfYH2p7 VGyxvuOzU0HEIYJROlDh1wL4+DE9aCxwa9pRYIphWON29T/0YSuURRLyGNywoMK5Ws Zd7YR6RKDfht3TcAJFs9C7QGFYUv4SUwHTlF+y+0clnJ2mmP/sAX7p3dOiLDGJA3Mi US7pNcCrFPWkg== From: Vinod Koul To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig_=28The_Capable_Hub=29?= Cc: Neil Armstrong , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20260519151957.1593214-2-u.kleine-koenig@baylibre.com> References: <20260519151957.1593214-2-u.kleine-koenig@baylibre.com> Subject: Re: [PATCH v1] phy: nxp-ptn3222: Use named initializers for struct i2c_device_id Message-Id: <178119212906.568088.4380025411379874938.b4-ty@kernel.org> Date: Thu, 11 Jun 2026 21:05:29 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.13.0 On Tue, 19 May 2026 17:19:57 +0200, Uwe Kleine-König (The Capable Hub) 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. > > This patch doesn't modify the compiled arrays, only their representation > in source form benefits. The former was confirmed with x86 and arm64 > builds. > > [...] Applied, thanks! [1/1] phy: nxp-ptn3222: Use named initializers for struct i2c_device_id commit: 4904117935319233b1ec8f0528560dc91e8ae4c2 Best regards, -- ~Vinod