Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (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 89C101494DE for ; Tue, 25 Jun 2024 23:56:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719359817; cv=none; b=LtkX9RJCgI7dbhui0ByEFDwOYo8gu3/Lg5j0klDuO4TTczvHK0XTQiiei0oGYAM/8NZUfqd0LOgFfKSkDFo1JEOH+R6dWffkDoyDl4AWT/RvRHQJhjw9yWekZ/ExXzstTZ0624OBLWcFjOkQ8fP6xgALlXzhsybEsEeI+Mo+edk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719359817; c=relaxed/simple; bh=B/BOz8hJdvZcvCYQbP8ja7AVokFlLC4NtFVCQhf62sA=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=UCPB8j4rtgEcbv7MuY58M1FfG7o58EtHQADQe/x+wyoua8sTwV/QiOq89L1Q7uYkH15BRHGinBZEo2PF6Wr/mzeQ9P+8tlwVOegrE1W5stH9kBh75XwP5DS+fDNLcgBAjl5oEItSf69ewlOxfO/DkcEjEfUvp2vlqkOI0f0kU2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=d/VYFTt7; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="d/VYFTt7" Received: from pecola.lan (unknown [159.196.93.152]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 201F620009; Wed, 26 Jun 2024 07:56:45 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1719359807; bh=B/BOz8hJdvZcvCYQbP8ja7AVokFlLC4NtFVCQhf62sA=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=d/VYFTt7E+QDQyR/eXC/+m1U2AT0GFXpNBljPhzSbpi0EufbD7onpntl2x4L1b427 IagnUeDRNnSq0vLc3KJ/t3YfpiwIkpkFR8JabGnicPBFwyHPs1Tk3ZBcguIk+tSKBT smctMMSE1ErWQPiWpnxf3JqyM5JjJDVfPB7utNhKqVzKT5gbqEtajWGysLLRoLIhxu qviIG5kDfUxQfQ7dOksqGk+90UjP0+d8IYgFBrzhaEqKuUx0VVR8JpIjoqou8AgwMW mjCBnNfS4Iha5rHmsrPSuDIk5rELNEx+TQtYc0xrUZYu1SxKAI4C1dgqxSx4mtqoDs ncZnK1AXNVYQA== Message-ID: Subject: Re: [PATCH net-next] net: Drop explicit initialization of struct i2c_device_id::driver_data to 0 From: Jeremy Kerr To: Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Andrew Lunn , Florian Fainelli , Vladimir Oltean , Woojung Huh , UNGLinuxDriver@microchip.com, George McCollister , Ido Schimmel , Petr Machata , Matt Johnston , Oleksij Rempel , Kory Maincent , netdev@vger.kernel.org Date: Wed, 26 Jun 2024 07:56:44 +0800 In-Reply-To: <20240625083853.2205977-2-u.kleine-koenig@baylibre.com> References: <20240625083853.2205977-2-u.kleine-koenig@baylibre.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Uwe, > These drivers don't use the driver_data member of struct > i2c_device_id, so don't explicitly initialize this member. >=20 > This prepares putting driver_data in an anonymous union which requires > either no initialization or named designators. But it's also a nice > cleanup on its own. >=20 > While add it, also remove commas after the sentinel entries. >=20 > Signed-off-by: Uwe Kleine-K=C3=B6nig Thanks! Reviewed-by: Jeremy Kerr # for mctp-i2c Cheers, Jeremy