aboutsummaryrefslogtreecommitdiffstats
path: root/ni845x_spi.c
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-06-23 14:38:35 +0200
committerThomas Heijligen <src@posteo.de>2022-06-27 08:56:00 +0000
commitb554cdc91e7c30f6fa55316ecae902f1e11b3ab1 (patch)
tree6f54baa9303f1481fc1e7b950e441796fdc51651 /ni845x_spi.c
parentd41595e207107f3716535f6fb128a32db6c2fefa (diff)
downloadflashrom-b554cdc91e7c30f6fa55316ecae902f1e11b3ab1.tar.gz
flashrom-b554cdc91e7c30f6fa55316ecae902f1e11b3ab1.tar.bz2
flashrom-b554cdc91e7c30f6fa55316ecae902f1e11b3ab1.zip
tree: indent struct *_master consistently with tabs
Use `<tab>.key<tab>*= <value>,` TEST: `make VERSION=0 MAN_DATE=0` returns the same flashrom binary before and after the patch Change-Id: I1c45ea9804ca09e040d7ac98255042f58b01f8ef Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/65363 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'ni845x_spi.c')
-rw-r--r--ni845x_spi.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ni845x_spi.c b/ni845x_spi.c
index 18c0278c..7c4e4fc2 100644
--- a/ni845x_spi.c
+++ b/ni845x_spi.c
@@ -529,14 +529,14 @@ static int ni845x_spi_transmit(const struct flashctx *flash,
}
static const struct spi_master spi_programmer_ni845x = {
- .max_data_read = MAX_DATA_READ_UNLIMITED,
- .max_data_write = MAX_DATA_WRITE_UNLIMITED,
- .command = ni845x_spi_transmit,
- .multicommand = default_spi_send_multicommand,
- .read = default_spi_read,
- .write_256 = default_spi_write_256,
- .write_aai = default_spi_write_aai,
- .shutdown = ni845x_spi_shutdown,
+ .max_data_read = MAX_DATA_READ_UNLIMITED,
+ .max_data_write = MAX_DATA_WRITE_UNLIMITED,
+ .command = ni845x_spi_transmit,
+ .multicommand = default_spi_send_multicommand,
+ .read = default_spi_read,
+ .write_256 = default_spi_write_256,
+ .write_aai = default_spi_write_aai,
+ .shutdown = ni845x_spi_shutdown,
};
static int ni845x_spi_init(void)