tpm: Tidy up logging in tpm-common.c
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:28 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commit34a5e8a2f155589e6274fbeef4be0aacf5244a27
treeb9704fa135ee3c830ca0b8235629bfe2c2de88fe
parentc89d32a7b1acc6a16b1e749e93844f7364ceacbf
tpm: Tidy up logging in tpm-common.c

At present this file uses logging but it should use the new macros. Update
it and add a log message for an error.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/tpm-common.c