From: Jason Gunthorpe Date: Tue, 26 Nov 2013 20:30:45 +0000 (-0700) Subject: tpm: Make tpm-dev allocate a per-file structure X-Git-Tag: v3.14-rc1~147^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3302e0d6dcc02f369ecdc01c8392a28f14c0cba;p=pandora-kernel.git tpm: Make tpm-dev allocate a per-file structure This consolidates everything that is only used within tpm-dev.c into tpm-dev.c and out of the publicly visible struct tpm_chip. The per-file allocation lays the ground work for someday fixing the strange forced O_EXCL behaviour of the current code. Signed-off-by: Jason Gunthorpe Reviewed-by: Joel Schopp Reviewed-by: Ashley Lai Signed-off-by: Peter Huewe --- Reading git-diff-tree failed