From: Jason Gunthorpe Date: Tue, 26 Nov 2013 20:30:42 +0000 (-0700) Subject: tpm: Pull all driver sysfs code into tpm-sysfs.c X-Git-Tag: v3.14-rc1~147^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e3b73a95793555860512008035f6822406a2a79;p=pandora-kernel.git tpm: Pull all driver sysfs code into tpm-sysfs.c The tpm core now sets up and controls all sysfs attributes, instead of having each driver have a unique take on it. All drivers now now have a uniform set of attributes, and no sysfs related entry points are exported from the tpm core module. This also uses the new method used to declare sysfs attributes with DEVICE_ATTR_RO and 'struct attribute *' Signed-off-by: Jason Gunthorpe [phuewe: had to apply the tpm_i2c_atmel part manually due to commit 191ffc6bde3fc tpm/tpm_i2c_atmel: fix coccinelle warnings] Signed-off-by: Peter Huewe --- Reading git-diff-tree failed