From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miquel Raynal Date: Wed, 7 Nov 2018 08:56:02 +0100 Subject: [U-Boot] [PATCH 18/25] tpm: Convert to use a device parameter In-Reply-To: <20181106222142.94537-19-sjg@chromium.org> References: <20181106222142.94537-1-sjg@chromium.org> <20181106222142.94537-19-sjg@chromium.org> Message-ID: <20181107085602.2ca72b97@xps13> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi Simon, Simon Glass wrote on Tue, 6 Nov 2018 15:21:35 -0700: > At present many TPM calls assume there is only one TPM in the system and > look up this TPM themselves. This is inconsistent with driver model, which > expects all driver methods to have a device parameter. Update the code to > correct this. >=20 > Also move to u8/32 instead of uint8_t/uint32_t to keep checkpatch happy. >=20 > Signed-off-by: Simon Glass > --- Thanks for the cleanup! Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l