From patchwork Wed Dec 20 11:35:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 10125509 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 A06F56019C for ; Wed, 20 Dec 2017 11:35:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A5D6290EF for ; Wed, 20 Dec 2017 11:35:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F4D32912E; Wed, 20 Dec 2017 11:35:59 +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=-6.9 required=2.0 tests=BAYES_00,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 1BFDF290EF for ; Wed, 20 Dec 2017 11:35:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755105AbdLTLf6 (ORCPT ); Wed, 20 Dec 2017 06:35:58 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:39638 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755055AbdLTLfv (ORCPT ); Wed, 20 Dec 2017 06:35:51 -0500 Received: by mail-wm0-f67.google.com with SMTP id i11so9101526wmf.4 for ; Wed, 20 Dec 2017 03:35:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TqZo86x/wjNIUHrqMyoLK9xN6JHnNcaMxhjnTIZlRGY=; b=oOLdkRQ663QkgmJhvWKuUKBLa9DRzCVM7e/kG7x34EBwHSY11M9Dq5+pbJv2DKkvC/ A2bf673jfpZaGtNKxpJLaPzf5N2ylHYXB8rZ5nI7e6YIwDG78pFA9z6rQHWgbEFWed9E JCd20aAtoPvN0TyMr/z9dQ2Kw2APBCjMUrzu67H9yizi6dJwT0E6V3W7arfzDQjw2kGE 3kbOTBRwecA2l+yXIqUG5/I1Al1fGCLN2TjDEJDsQetP4dngH+IuON6DN/Sn8teBDcY6 bMCv76UHjR99+0M54uCUDv+dKEuiOqBFu5kc/ShfeWwIOgX+ZLUH6HCtSgFSWGZk0c01 o5lA== X-Gm-Message-State: AKGB3mJxsMilYAn4iwBgB1lHkNaf1KvSJk6T7fG4naG6SN2JNrj4V7w4 HTW58MKXP8mFN4CHxi6WruLucg== X-Google-Smtp-Source: ACJfBouc0q1sbP/HIFe+ldirK3kWGh2MJGQ0+VsGKnNTz6Z9vmb/Gv9AtX7nU9eAvnyufmxvCPEHkA== X-Received: by 10.28.184.209 with SMTP id i200mr6362860wmf.96.1513769749827; Wed, 20 Dec 2017 03:35:49 -0800 (PST) Received: from minerva.home ([90.77.100.34]) by smtp.gmail.com with ESMTPSA id b18sm18353767wra.44.2017.12.20.03.35.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2017 03:35:49 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: James Ettle , Hans de Goede , Azhar Shaikh , Javier Martinez Canillas , Arnd Bergmann , Jarkko Sakkinen , Peter Huewe , Jason Gunthorpe , Greg Kroah-Hartman , linux-integrity@vger.kernel.org Subject: [PATCH 3/4] tpm: follow coding style for variable declaration in tpm_tis_core_init() Date: Wed, 20 Dec 2017 12:35:37 +0100 Message-Id: <20171220113538.16099-4-javierm@redhat.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171220113538.16099-1-javierm@redhat.com> References: <20171220113538.16099-1-javierm@redhat.com> 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 The coding style says "use just one data declaration per line (no commas for multiple data declarations)" so follow this convention. Suggested-by: Jarkko Sakkinen Signed-off-by: Javier Martinez Canillas Reviewed-by: Jarkko Sakkinen Tested-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_tis_core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core.c index 09da1e1adc40..534cd46fdfae 100644 --- a/drivers/char/tpm/tpm_tis_core.c +++ b/drivers/char/tpm/tpm_tis_core.c @@ -798,7 +798,9 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq, const struct tpm_tis_phy_ops *phy_ops, acpi_handle acpi_dev_handle) { - u32 vendor, intfcaps, intmask; + u32 vendor; + u32 intfcaps; + u32 intmask; u8 rid; int rc, probe; struct tpm_chip *chip;