Commit 3b09825d authored by Bruno E O Meneguele's avatar Bruno E O Meneguele Committed by Peter Huewe

char/tpm: fixed white spaces coding style issues

Fixed some coding style issues reported by checkpatch.
Signed-off-by: default avatarBruno E O Meneguele <bmeneguele@gmail.com>
[phuewe: ported to latest code]
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent f78c81b4
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
* Maintained by: <tpmdd-devel@lists.sourceforge.net> * Maintained by: <tpmdd-devel@lists.sourceforge.net>
* *
* Device driver for TCG/TCPA TPM (trusted platform module). * Device driver for TCG/TCPA TPM (trusted platform module).
* Specifications at www.trustedcomputinggroup.org * Specifications at www.trustedcomputinggroup.org
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, version 2 of the * published by the Free Software Foundation, version 2 of the
* License. * License.
* *
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/delay.h> #include <linux/delay.h>
...@@ -141,7 +141,7 @@ struct tpm_vendor_specific { ...@@ -141,7 +141,7 @@ struct tpm_vendor_specific {
u16 manufacturer_id; u16 manufacturer_id;
}; };
#define TPM_VPRIV(c) (c)->vendor.priv #define TPM_VPRIV(c) ((c)->vendor.priv)
#define TPM_VID_INTEL 0x8086 #define TPM_VID_INTEL 0x8086
#define TPM_VID_WINBOND 0x1050 #define TPM_VID_WINBOND 0x1050
......
...@@ -777,7 +777,7 @@ tpm_stm_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id) ...@@ -777,7 +777,7 @@ tpm_stm_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id)
IRQF_TRIGGER_HIGH, IRQF_TRIGGER_HIGH,
"TPM SERIRQ management", chip); "TPM SERIRQ management", chip);
if (ret < 0) { if (ret < 0) {
dev_err(chip->pdev , "TPM SERIRQ signals %d not available\n", dev_err(chip->pdev, "TPM SERIRQ signals %d not available\n",
client->irq); client->irq);
goto _tpm_clean_answer; goto _tpm_clean_answer;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment