commit | 8ceca1d6e6564b8e6c75f7eecd5009d210efd929 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 18 14:22:27 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 29 09:30:06 2018 -0700 |
tree | e45abe92dc40db0d684f7ed82453504469b99cc3 | |
parent | 5e7941cb0dbecc0b212e2462248b97540edbe59f [diff] |
tpm: Convert to use a device parameter 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. Signed-off-by: Simon Glass <sjg@chromium.org>