From: Jason Gunthorpe Date: Sun, 22 Sep 2013 22:03:28 +0000 (-0600) Subject: tpm: st33: Remove chip->data_buffer access from this driver X-Git-Tag: v3.13-rc1~18^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb996158dfe8a31377700f46b7f3d69ddc5ae1e4;p=pandora-kernel.git tpm: st33: Remove chip->data_buffer access from this driver For some reason this driver thinks that chip->data_buffer needs to be set before it can call tpm_pm_*. This is not true. data_buffer is used only by /dev/tpmX, which is why it is managed exclusively by the fops functions. Cc: Mathias Leblanc Signed-off-by: Jason Gunthorpe Reviewed-by: Joel Schopp --- Reading git-diff-tree failed