From patchwork Wed Sep 20 08:13:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Thi=C3=A9baud_Weksteen?= X-Patchwork-Id: 9961093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 40F2260234 for ; Wed, 20 Sep 2017 08:15:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31AFE28FFA for ; Wed, 20 Sep 2017 08:15:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2685F28FFC; Wed, 20 Sep 2017 08:15:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC6EB28FFA for ; Wed, 20 Sep 2017 08:15:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751747AbdITIPU (ORCPT ); Wed, 20 Sep 2017 04:15:20 -0400 Received: from mail-wr0-f202.google.com ([209.85.128.202]:42262 "EHLO mail-wr0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813AbdITIOH (ORCPT ); Wed, 20 Sep 2017 04:14:07 -0400 Received: by mail-wr0-f202.google.com with SMTP id p37so191499wrb.1 for ; Wed, 20 Sep 2017 01:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:date:in-reply-to:message-id:references:subject:from:to :cc; bh=6Kp3QdFDi0hNrEePz8mWomsFM1yQL7nlbkmjCQnvytQ=; b=jovttpPgiSOeVpZ6gQmXhw3JK20Zrv9qhD5KBqwkz4cLNg6VW8KWApPsJFGxerD859 LyBbY3Zy1g49ZN8XJvrLtsCSZEh25x12YSG+0MKoLI44nQoAtEOnCqNCG6Ie355Pszyl Dr/KsGooxuyEAyPitQIocJsmPjydCdmJo7Nu7pjLeDJf5a+MYveeWEqRX/yQxrVLO+Q7 oD+EpNFxo70DblVSDuNxT/quRp2qEhmS8vZMuJyu0ypVhzQgHiiwOoaX7ebq3/EEboAw TMyPPpR8etdRySqvfG+LgrJC9gpvwsJSQHP+uhL2ryMn3IN6gpJ/IehQnQ3TmzEipHCB VxXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id :references:subject:from:to:cc; bh=6Kp3QdFDi0hNrEePz8mWomsFM1yQL7nlbkmjCQnvytQ=; b=Ew9rtOLjDfvcysyJuE5Xnl6jukGIsvxKAnL3i/g7PZUSiUIXWbc1sBFT2/+dfLhcWu OtNIpuPnuMzxOCEoOcp0ynl2sKPEfJ4CK12IpS4UhhS1ZIXpFlz+nDuyx4DFr6P1v6H3 JFoqI2aptt4TClaDrH7n6+3xtXNvtRUg2N1O9Jo7nc+Y3y069RB1xhMtWSQE31yLTBuX fuUckoIZTWF2GdAJwcmESJLZyK96mpxKtbfFClH970sQoY035BRc0v2FuKj5WQ9YoJQw 4PgCWhhGiJoX8og/YjE4IMl8lwt1CIwGoQFN9sqbm9g6QqxL4v1iuj9nU9JqLZkOi3go kcGg== X-Gm-Message-State: AHPjjUjOuw/CTqFGzqRIVzauyF6DNHFwXdNoS+JL2+HadWqXgJei5+kd emR/qAccFysNbmjmKJUGscCWDPbOgg== X-Google-Smtp-Source: AOwi7QBBRG4Pp5CMoh9LTVXj2PpM0QvflIB3G6xuzsu+iW1PubdFsVowaQDAxtY/YQw0+H9lhxz3UmkPbw== MIME-Version: 1.0 X-Received: by 10.28.1.146 with SMTP id 140mr358394wmb.2.1505895245928; Wed, 20 Sep 2017 01:14:05 -0700 (PDT) Date: Wed, 20 Sep 2017 10:13:37 +0200 In-Reply-To: <20170920081340.7413-1-tweek@google.com> Message-Id: <20170920081340.7413-3-tweek@google.com> References: <20170920081340.7413-1-tweek@google.com> X-Mailer: git-send-email 2.14.1.821.g8fa685d3b7-goog Subject: [PATCH v3 2/5] tpm: rename event log provider files From: Thiebaud Weksteen To: linux-efi@vger.kernel.org, linux-integrity@vger.kernel.org, tpmdd-devel@lists.sourceforge.net Cc: ard.biesheuvel@linaro.org, matt@codeblueprint.co.uk, linux-kernel@vger.kernel.org, mjg59@google.com, peterhuewe@gmx.de, jarkko.sakkinen@linux.intel.com, jgunthorpe@obsidianresearch.com, tpmdd@selhorst.net, Thiebaud Weksteen Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Rename the current TPM Event Log provider files (ACPI and OF) for clarity. Signed-off-by: Thiebaud Weksteen Reviewed-by: Jarkko Sakkinen --- drivers/char/tpm/Makefile | 4 ++-- drivers/char/tpm/{tpm_acpi.c => tpm_eventlog_acpi.c} | 0 drivers/char/tpm/{tpm_of.c => tpm_eventlog_of.c} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename drivers/char/tpm/{tpm_acpi.c => tpm_eventlog_acpi.c} (100%) rename drivers/char/tpm/{tpm_of.c => tpm_eventlog_of.c} (100%) diff --git a/drivers/char/tpm/Makefile b/drivers/char/tpm/Makefile index 23681f01f95a..c8509cd723a1 100644 --- a/drivers/char/tpm/Makefile +++ b/drivers/char/tpm/Makefile @@ -5,8 +5,8 @@ obj-$(CONFIG_TCG_TPM) += tpm.o tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o \ tpm-dev-common.o tpmrm-dev.o tpm1_eventlog.o tpm2_eventlog.o \ tpm2-space.o -tpm-$(CONFIG_ACPI) += tpm_ppi.o tpm_acpi.o -tpm-$(CONFIG_OF) += tpm_of.o +tpm-$(CONFIG_ACPI) += tpm_ppi.o tpm_eventlog_acpi.o +tpm-$(CONFIG_OF) += tpm_eventlog_of.o obj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o obj-$(CONFIG_TCG_TIS) += tpm_tis.o obj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o diff --git a/drivers/char/tpm/tpm_acpi.c b/drivers/char/tpm/tpm_eventlog_acpi.c similarity index 100% rename from drivers/char/tpm/tpm_acpi.c rename to drivers/char/tpm/tpm_eventlog_acpi.c diff --git a/drivers/char/tpm/tpm_of.c b/drivers/char/tpm/tpm_eventlog_of.c similarity index 100% rename from drivers/char/tpm/tpm_of.c rename to drivers/char/tpm/tpm_eventlog_of.c