Hi Simon,
As per my delivery tentative, don't you think driver specific data could
be stored in a void *priv field in struct tpm_vendor_specific ?
This how we manage such information in Linux drivers.
Please have a look in tpm_private.h changes:
There are too many structures storing the same sort of information. Move the
fields from struct tpm_dev into struct tpm_chip and remove the former
struct.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/tpm/tpm_tis_i2c.c | 52 +--
2 matches
Mail list logo