From: Jason Gunthorpe Date: Tue, 26 Nov 2013 20:30:43 +0000 (-0700) Subject: tpm: Create a tpm_class_ops structure and use it in the drivers X-Git-Tag: v3.14-rc1~147^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ad1fa75dd243909d62dba25a93254b20d5fe81;p=pandora-kernel.git tpm: Create a tpm_class_ops structure and use it in the drivers This replaces the static initialization of a tpm_vendor_specific structure in the drivers with the standard Linux idiom of providing a const structure of function pointers. Signed-off-by: Jason Gunthorpe Reviewed-by: Joel Schopp Reviewed-by: Ashley Lai [phuewe: did apply manually due to commit 191ffc6bde3 tpm/tpm_i2c_atmel: fix coccinelle warnings] Signed-off-by: Peter Huewe --- Reading git-diff-tree failed