From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751570AbbEBSK7 (ORCPT ); Sat, 2 May 2015 14:10:59 -0400 Received: from mga02.intel.com ([134.134.136.20]:1944 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750791AbbEBSK6 (ORCPT ); Sat, 2 May 2015 14:10:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,356,1427785200"; d="scan'208";a="719630480" From: Jarkko Sakkinen To: peterhuewe@gmx.de, tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Cc: Jarkko Sakkinen Subject: [PATCH v5 0/2] Enable PPI sysfs interface for TPM 2.0 Date: Sat, 2 May 2015 21:10:51 +0300 Message-Id: <1430590253-29019-1-git-send-email-jarkko.sakkinen@linux.intel.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since v4: * Removed dangling export of kernfs_remove_by_name_ns() from the first patch. 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/sysfs/group.c | 42 ++++++++++++++++++++++++++++++++++++++++++ include/linux/sysfs.h | 8 ++++++++ 5 files changed, 83 insertions(+), 42 deletions(-) -- 2.1.4