dm: tpm: Remove every compilation switch for TPM driver model
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 6 Oct 2015 20:54:43 +0000 (22:54 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 23 Oct 2015 15:42:28 +0000 (09:42 -0600)
commitc2b0f600a1707450ef985e28363893987f36fd8a
tree981149157b60b2df47424e14a7ebdd71cefde480
parent302c5dba0a6eeb5846b628d3d59978dc0751def9
dm: tpm: Remove every compilation switch for TPM driver model

As every TPM drivers support UCLASS_TPM, we can only rely on DM_TPM
functions.

This simplify a bit the code.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/cmd_tpm.c
drivers/tpm/tpm_tis_infineon.c
drivers/tpm/tpm_tis_lpc.c
include/tis.h [deleted file]
include/tpm.h
lib/tpm.c