]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
tpm: follow coding style for variable declaration in tpm_tis_core_init()
authorJavier Martinez Canillas <javierm@redhat.com>
Mon, 25 Dec 2017 02:22:50 +0000 (03:22 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 8 Jan 2018 10:58:39 +0000 (12:58 +0200)
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 <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_tis_core.c

index db1430a4d1954beb4483b260026286305f04aadc..38f7a9bc10457f981fa5f6351f939ff780dc2ad1 100644 (file)
@@ -815,7 +815,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;