summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2017-12-25 03:22:50 +0100
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2018-01-08 12:58:39 +0200
commit5fc0bead786d76f5edc732f60451e3fca310f7a0 (patch)
tree97ea9bfdf792abdfbded710b2f9bdcba3932c1c5 /drivers/char
parent764325add6c2ad1641199edde7b2995495fc2d7c (diff)
tpm: follow coding style for variable declaration in tpm_tis_core_init()
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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/tpm/tpm_tis_core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core.c
index db1430a4d195..38f7a9bc1045 100644
--- a/drivers/char/tpm/tpm_tis_core.c
+++ b/drivers/char/tpm/tpm_tis_core.c
@@ -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;