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 9C2DB1C2AA; Thu, 28 May 2026 02:23:16 +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=1779934997; cv=none; b=hfSQAhNlUr8rP9c5okUNgZ2LHjr2VolwenAVb8G/duTKXcnD/gg+7URwPf1IeojZ/69NjHeoNMjW9EL7OXWfxmpBXP5ZjzzXkaHjma54KYDTiclFqAPv5mtJ4W+MJu4/u7amn+xNHAW9y9BQNmyn6rnMGzGLium3Vfjpck7B0D4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779934997; c=relaxed/simple; bh=MC+x+70D8fUjvGVpIpYilBHUTcQOT2NKmJQCUcZJgxE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=G4rDSxsPCX5NjGo8pjpLwgyCJWLW2TLVLpweV1yO6XvrsHHPpBIjMfZty4/mWmmJpukVGweD55EfzA2s+phenKaCCCBYGyfkiCPCn8FgThWFAinacAcR3Jjc7DLv0tj0QFTJzLJE8gjpS9OxBJwifoyrI5ySUg2ireU05AuYrrc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AVtZFX0L; 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="AVtZFX0L" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 072DC1F000E9; Thu, 28 May 2026 02:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779934996; bh=A3FaJsgRV2sRxxDAP0ksoOqAypsCUyBurlOfHLIkNTk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=AVtZFX0LLaEgLG02gUTOo40yF/9Rvu5HuxkhJ4IemedoemG+gZmUU93G9UFTEKUdF +wp8QfHo3/aHDjG5bFRQJR4pYr5i0MNilqxIDVZYaq+PCwqs6maXtTA6xaFwBjbptb StrjpHdETXCGfQaONEE0OKpxpaFiZ2gyzLYgQ3er2/ek/bAlxtluq0pGdvy8R6eTZc iEutDs6q2CL+K3nfBTUOY79OatLEmj+jaOBUx6FSRoWxECROR/Zf8mJyQNJZ3pwJJE 9wNGyU5Rlozj5t04xViRji4RcRkIZ4sfuTIqSX4lic8AjYUOi0yfgpMuDyzli/kZ3+ UhokAuCc7V/EQ== Date: Thu, 28 May 2026 02:23:13 +0000 From: Tzung-Bi Shih To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig_=28The_Capable_Hub=29?= Cc: Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Guenter Roeck , Benson Leung , chrome-platform@lists.linux.dev, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/2] hwmon: cros_ec: Drop unused assignment of platform_device_id driver data Message-ID: References: <972c9998054c7944f63266819d6fb08b36edb5c5.1779894738.git.u.kleine-koenig@baylibre.com> Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <972c9998054c7944f63266819d6fb08b36edb5c5.1779894738.git.u.kleine-koenig@baylibre.com> On Wed, May 27, 2026 at 05:15:52PM +0200, Uwe Kleine-König (The Capable Hub) wrote: > The driver explicitly set the .driver_data member of struct > platform_device_id to zero without relying on that value. Drop this > unused assignments. > > While touching this array unify spacing and use named initializers for > .name. > > Signed-off-by: Uwe Kleine-König (The Capable Hub) Reviewed-by: Tzung-Bi Shih