From: Jason Gunthorpe Date: Wed, 18 Sep 2013 00:19:44 +0000 (-0600) Subject: tpm: Remove tpm_show_caps_1_2 X-Git-Tag: v3.13-rc1~18^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e907481bed439cd04fb24084baab41015b89da6e;p=pandora-kernel.git tpm: Remove tpm_show_caps_1_2 The version of the TPM should not depend on the bus it is connected through. 1.1, 1.2 and soon 2.0 TPMS will be all be able to use the same bus interfaces. Make tpm_show_caps try the 1.2 capability first. If that fails then fall back to the 1.1 capability. This effectively auto-detects what interface the TPM supports at run-time. Signed-off-by: Jason Gunthorpe Reviewed-by: Joel Schopp Reviewed-by: Peter Huewe Signed-off-by: Peter Huewe --- Reading git-diff-tree failed