aboutsummaryrefslogtreecommitdiffstats
path: root/developerbox_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 /developerbox_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 'developerbox_spi.c')
-rw-r--r--developerbox_spi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/developerbox_spi.c b/developerbox_spi.c
index 8c4a8df8..86b8f1e8 100644
--- a/developerbox_spi.c
+++ b/developerbox_spi.c
@@ -124,11 +124,11 @@ static void cp210x_bitbang_set_sck_set_mosi(int sck, int mosi, void *spi_data)
}
static const struct bitbang_spi_master bitbang_spi_master_cp210x = {
- .set_cs = cp210x_bitbang_set_cs,
- .set_sck = cp210x_bitbang_set_sck,
- .set_mosi = cp210x_bitbang_set_mosi,
- .get_miso = cp210x_bitbang_get_miso,
- .set_sck_set_mosi = cp210x_bitbang_set_sck_set_mosi,
+ .set_cs = cp210x_bitbang_set_cs,
+ .set_sck = cp210x_bitbang_set_sck,
+ .set_mosi = cp210x_bitbang_set_mosi,
+ .get_miso = cp210x_bitbang_get_miso,
+ .set_sck_set_mosi = cp210x_bitbang_set_sck_set_mosi,
};
static int developerbox_spi_shutdown(void *spi_data)