[U-Boot] [PATCH 18/25] tpm: Convert to use a device parameter

Miquel Raynal
2018-11-07T07:56:02Z

Hi Simon,

Simon Glass <sjg@chromium.org> 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.
>
> Also move to u8/32 instead of uint8_t/uint32_t to keep checkpatch happy.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---

Thanks for the cleanup!

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>

Thanks,
MiquÃ¨l