summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq40xx
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-18 15:08:13 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-23 16:30:58 +0000
commit977673894ff486af2ff74ba5585ca6039701eb8f (patch)
treeb9719dc91560c7f5fcb791da0c767979e9bb48e0 /src/soc/qualcomm/ipq40xx
parent334772008c547d971e2591ef53bd570c176572ed (diff)
src/soc/qualcomm: Remove unnecessary space after casts
Change-Id: Ic6c711fe3fad19c24ca4c01f8d0a4bc002f14bd6 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69807 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/ipq40xx')
-rw-r--r--src/soc/qualcomm/ipq40xx/blobs_init.c2
-rw-r--r--src/soc/qualcomm/ipq40xx/spi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/qualcomm/ipq40xx/blobs_init.c b/src/soc/qualcomm/ipq40xx/blobs_init.c
index 60e4f0de04..ef19053692 100644
--- a/src/soc/qualcomm/ipq40xx/blobs_init.c
+++ b/src/soc/qualcomm/ipq40xx/blobs_init.c
@@ -31,7 +31,7 @@ static void *load_ipq_blob(const char *file_name)
(blob_mbn->mbn_total_size > blob_size))
return NULL;
- blob_dest = (void *) blob_mbn->mbn_destination;
+ blob_dest = (void *)blob_mbn->mbn_destination;
if (blob_mbn->mbn_destination) {
/* Copy the blob to the appropriate memory location. */
diff --git a/src/soc/qualcomm/ipq40xx/spi.c b/src/soc/qualcomm/ipq40xx/spi.c
index 0893dfc687..ab8f53016f 100644
--- a/src/soc/qualcomm/ipq40xx/spi.c
+++ b/src/soc/qualcomm/ipq40xx/spi.c
@@ -591,7 +591,7 @@ static int spi_ctrlr_xfer(const struct spi_slave *slave, const void *dout,
write_force_cs(slave, 1);
if (dout != NULL) {
- ret = blsp_spi_write(ds, txp, (unsigned int) out_bytes);
+ ret = blsp_spi_write(ds, txp, (unsigned int)out_bytes);
if (ret != SUCCESS)
goto out;
}