[PATCH v4 0/2] Enable PPI sysfs interface for TPM 2.0

From: Jarkko Sakkinen
Date: Sat May 02 2015 - 10:44:19 EST


Changes since v3:
* Use sysfs_remove_link()

Changes since v2:
* Fixed to_tpm_chip() macro.
* Split into two patches.
* Renamed sysfs_link_group_to_kobj to sysfs_link_entry_to_kobj
* Only create the "backwards compatibility" symlink for TPM 1.x devices.

Jarkko Sakkinen (2):
sysfs: added sysfs_link_entry_to_kobj()
tpm: move the PPI attributes to character device directory.

drivers/char/tpm/tpm-chip.c | 24 ++++++++++++++++--------
drivers/char/tpm/tpm.h | 17 ++++++-----------
drivers/char/tpm/tpm_ppi.c | 34 +++++++++++-----------------------
fs/kernfs/dir.c | 1 +
fs/sysfs/group.c | 42 ++++++++++++++++++++++++++++++++++++++++++
include/linux/sysfs.h | 8 ++++++++
6 files changed, 84 insertions(+), 42 deletions(-)

--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/