Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751721AbcJATZu (ORCPT ); Sat, 1 Oct 2016 15:25:50 -0400 Received: from mga02.intel.com ([134.134.136.20]:29961 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955AbcJATZp (ORCPT ); Sat, 1 Oct 2016 15:25:45 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,428,1473145200"; d="scan'208";a="15762856" From: Jarkko Sakkinen To: Peter Huewe Cc: Jarkko Sakkinen , Jason Gunthorpe , linux-kernel@vger.kernel.org (open list), tpmdd-devel@lists.sourceforge.net (moderated list:TPM DEVICE DRIVER) Subject: [PATCH RESEND 0/3] Clean up handling of event log files Date: Sat, 1 Oct 2016 22:25:23 +0300 Message-Id: <1475349926-476-1-git-send-email-jarkko.sakkinen@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 634 Lines: 19 Meld a common function for opening measurements files and keep the dentries in a static array. Jarkko Sakkinen (2): tpm: replace dynamically allocated bios_dir with a static array tpm: drop tpm1_chip_register(/unregister) Nayna Jain (1): tpm: define a generic open() method for ascii & bios measurements drivers/char/tpm/tpm-chip.c | 30 ++-------- drivers/char/tpm/tpm-sysfs.c | 3 + drivers/char/tpm/tpm.h | 3 +- drivers/char/tpm/tpm_eventlog.c | 129 +++++++++++++++------------------------- drivers/char/tpm/tpm_eventlog.h | 10 ++-- 5 files changed, 64 insertions(+), 111 deletions(-) -- 2.7.4