From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [83.223.95.100]) (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 8AB42134D9; Sat, 16 Dec 2023 09:56:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 53E1530000867; Sat, 16 Dec 2023 10:47:15 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 18E274EA64; Sat, 16 Dec 2023 10:47:15 +0100 (CET) Date: Sat, 16 Dec 2023 10:47:15 +0100 From: Lukas Wunner To: Jarkko Sakkinen Cc: Rob Herring , Peter Huewe , Jason Gunthorpe , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH] tpm: nuvoton: Use i2c_get_match_data() Message-ID: <20231216094715.GA7030@wunner.de> References: <20231115210215.3743873-1-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) On Wed, Nov 15, 2023 at 11:37:55PM +0200, Jarkko Sakkinen wrote: > On Wed Nov 15, 2023 at 11:02 PM EET, Rob Herring wrote: > > Use preferred i2c_get_match_data() instead of of_match_device() to > > get the driver match data. With this, adjust the includes to explicitly > > include the correct headers. > > > > Signed-off-by: Rob Herring > > --- > > drivers/char/tpm/tpm_i2c_nuvoton.c | 15 ++++----------- [...] > > OK, apologies for having to do a resend. I'll pick this, thanks! This is now duplicated as commit ebf2d4e8e582 in Jarkko's tree and commit 319e31686b9f in Rob's tree: https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/commit/?h=next&id=ebf2d4e8e582a444e12eff7d4a59d87f22fb3481 https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?h=for-next&id=319e31686b9f2bd669fd5c3a63b8ccf2efd9186f