diff options
author | Bruno E O Meneguele <bmeneguele@gmail.com> | 2015-01-17 11:03:30 -0500 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-01-18 08:26:49 -0500 |
commit | 3b09825dd8758a59c1a70e18df5bc8d04f8e5ced (patch) | |
tree | 0c9facfd09cb89d739c7e3957b6e89b4d5a48d09 | |
parent | f78c81b429ccb0a0574a1f169d208ce159007cb1 (diff) |
char/tpm: fixed white spaces coding style issues
Fixed some coding style issues reported by checkpatch.
Signed-off-by: Bruno E O Meneguele <bmeneguele@gmail.com>
[phuewe: ported to latest code]
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
-rw-r--r-- | drivers/char/tpm/tpm.h | 6 | ||||
-rw-r--r-- | drivers/char/tpm/tpm_i2c_stm_st33.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index cc421cfde389..7b0727c5e803 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h | |||
@@ -10,13 +10,13 @@ | |||
10 | * Maintained by: <tpmdd-devel@lists.sourceforge.net> | 10 | * Maintained by: <tpmdd-devel@lists.sourceforge.net> |
11 | * | 11 | * |
12 | * Device driver for TCG/TCPA TPM (trusted platform module). | 12 | * Device driver for TCG/TCPA TPM (trusted platform module). |
13 | * Specifications at www.trustedcomputinggroup.org | 13 | * Specifications at www.trustedcomputinggroup.org |
14 | * | 14 | * |
15 | * This program is free software; you can redistribute it and/or | 15 | * This program is free software; you can redistribute it and/or |
16 | * modify it under the terms of the GNU General Public License as | 16 | * modify it under the terms of the GNU General Public License as |
17 | * published by the Free Software Foundation, version 2 of the | 17 | * published by the Free Software Foundation, version 2 of the |
18 | * License. | 18 | * License. |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | #include <linux/delay.h> | 22 | #include <linux/delay.h> |
@@ -141,7 +141,7 @@ struct tpm_vendor_specific { | |||
141 | u16 manufacturer_id; | 141 | u16 manufacturer_id; |
142 | }; | 142 | }; |
143 | 143 | ||
144 | #define TPM_VPRIV(c) (c)->vendor.priv | 144 | #define TPM_VPRIV(c) ((c)->vendor.priv) |
145 | 145 | ||
146 | #define TPM_VID_INTEL 0x8086 | 146 | #define TPM_VID_INTEL 0x8086 |
147 | #define TPM_VID_WINBOND 0x1050 | 147 | #define TPM_VID_WINBOND 0x1050 |
diff --git a/drivers/char/tpm/tpm_i2c_stm_st33.c b/drivers/char/tpm/tpm_i2c_stm_st33.c index dbab8d0d875e..612845b36c29 100644 --- a/drivers/char/tpm/tpm_i2c_stm_st33.c +++ b/drivers/char/tpm/tpm_i2c_stm_st33.c | |||
@@ -777,7 +777,7 @@ tpm_stm_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id) | |||
777 | IRQF_TRIGGER_HIGH, | 777 | IRQF_TRIGGER_HIGH, |
778 | "TPM SERIRQ management", chip); | 778 | "TPM SERIRQ management", chip); |
779 | if (ret < 0) { | 779 | if (ret < 0) { |
780 | dev_err(chip->pdev , "TPM SERIRQ signals %d not available\n", | 780 | dev_err(chip->pdev, "TPM SERIRQ signals %d not available\n", |
781 | client->irq); | 781 | client->irq); |
782 | goto _tpm_clean_answer; | 782 | goto _tpm_clean_answer; |
783 | } | 783 | } |