Edward O'Callaghan submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved Edward O'Callaghan: Looks good to me, approved
realtek_mst_i2c_spi.c: Fix indentation

BUG=none
BRANCH=none
TEST=builds

Signed-off-by: Shiyu Sun <sshiyu@chromium.org>
Change-Id: I730882c97926dfbe8b68b286c3805d6470993da8
Reviewed-on: https://review.coreboot.org/c/flashrom/+/49784
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
---
M realtek_mst_i2c_spi.c
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/realtek_mst_i2c_spi.c b/realtek_mst_i2c_spi.c
index a0cd7c6..3dd1b36 100644
--- a/realtek_mst_i2c_spi.c
+++ b/realtek_mst_i2c_spi.c
@@ -26,7 +26,7 @@
#include "i2c_helper.h"


-#define MCU_I2C_SLAVE_ADDR 0x94
+#define MCU_I2C_SLAVE_ADDR 0x94
#define REGISTER_ADDRESS (0x94 >> 1)
#define PAGE_SIZE 128
#define MAX_SPI_WAIT_RETRIES 1000
@@ -78,7 +78,7 @@
msg_perr("Unable to extract fd from flash context.\n");
return SPI_GENERIC_ERROR;
}
- const struct realtek_mst_i2c_spi_data *data =
+ const struct realtek_mst_i2c_spi_data *data =
(const struct realtek_mst_i2c_spi_data *)flash->mst->spi.data;

return data->fd;
@@ -429,7 +429,7 @@
static int realtek_mst_i2c_spi_shutdown(void *data)
{
int ret = 0;
- struct realtek_mst_i2c_spi_data *realtek_mst_data =
+ struct realtek_mst_i2c_spi_data *realtek_mst_data =
(struct realtek_mst_i2c_spi_data *)data;
int fd = realtek_mst_data->fd;
if (realtek_mst_data->reset) {

To view, visit change 49784. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I730882c97926dfbe8b68b286c3805d6470993da8
Gerrit-Change-Number: 49784
Gerrit-PatchSet: 3
Gerrit-Owner: Shiyu Sun <sshiyu@google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged