tpm: Create a tpm_class_ops structure and use it in the drivers