summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/ptn3460/chip.h1
-rw-r--r--src/drivers/i2c/tpm/cr50.c1
-rw-r--r--src/drivers/i2c/tpm/tpm.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/drivers/i2c/ptn3460/chip.h b/src/drivers/i2c/ptn3460/chip.h
index 0ec26ca8ac..bcc8789bd8 100644
--- a/src/drivers/i2c/ptn3460/chip.h
+++ b/src/drivers/i2c/ptn3460/chip.h
@@ -4,7 +4,6 @@
#define __DRIVERS_I2C_PTN3460_CHIP_H__
struct drivers_i2c_ptn3460_config {
-
};
#endif /* __DRIVERS_I2C_PTN3460_CHIP_H__ */
diff --git a/src/drivers/i2c/tpm/cr50.c b/src/drivers/i2c/tpm/cr50.c
index b58fbc8a67..5973d337d0 100644
--- a/src/drivers/i2c/tpm/cr50.c
+++ b/src/drivers/i2c/tpm/cr50.c
@@ -446,7 +446,6 @@ static tpm_result_t cr50_i2c_probe(uint32_t *did_vid)
printk(BIOS_INFO, "Probing TPM I2C: ");
for (retries = 100; retries > 0; retries--) {
-
rc = cr50_i2c_read(TPM_DID_VID(0), (uint8_t *)did_vid, 4);
/* Exit once DID and VID verified */
diff --git a/src/drivers/i2c/tpm/tpm.c b/src/drivers/i2c/tpm/tpm.c
index eb279844e8..71582c9792 100644
--- a/src/drivers/i2c/tpm/tpm.c
+++ b/src/drivers/i2c/tpm/tpm.c
@@ -117,7 +117,6 @@ static int iic_tpm_read(uint8_t addr, uint8_t *buffer, size_t len)
buffer, len);
if (rc == 0)
break; /* success, break to skip sleep */
-
}
break;