[PATCH] tpm: sysfs owernship changes
authorKylene Hall <kjhall@us.ibm.com>
Fri, 24 Jun 2005 05:02:00 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:05:26 +0000 (00:05 -0700)
commit6659ca2ab6730c3bbb9fa495f2327b95b955decd
tree1b8a9a09a830b0a5233c6e9f073c53260dbef819
parent81179bb6a54c2c626b4cbcc084ca974bb2d7f2a3
[PATCH] tpm: sysfs owernship changes

In the current driver all sysfs files end up owned by the base driver module
rather than the module that actually owns the device this is a problem if the
module is unloaded and the file is open.  This patch fixes all that and lumps
the files into an attribute_group.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_atmel.c
drivers/char/tpm/tpm_nsc.c