summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-03 22:19:16 +0200
committerMartin Roth <martinroth@google.com>2016-10-07 18:06:48 +0200
commit9b865b47b0670e4bb9ee57cafd6d37f7a20bcfd1 (patch)
treeb57ccc2de2ba2bdb7b25615898bb27d277f78bea /src/drivers/intel/gma
parentec28aadbd1a182283f49dbf2fd57dd595b6cdc2a (diff)
src/drivers: Remove whitespace after memcpy & memset
Change-Id: If79eb706b6d44f7c34dfe31a1545f5850870b334 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16866 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/intel/gma')
-rw-r--r--src/drivers/intel/gma/vbt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/intel/gma/vbt.c b/src/drivers/intel/gma/vbt.c
index 9ec09d313c..430aa9bc39 100644
--- a/src/drivers/intel/gma/vbt.c
+++ b/src/drivers/intel/gma/vbt.c
@@ -32,7 +32,7 @@ static size_t generate_vbt(const struct i915_gpu_controller_info *conf,
struct bdb_general_features *genfeat;
u8 *ptr;
- memset (head, 0, sizeof (*head));
+ memset(head, 0, sizeof (*head));
memset(head->signature, ' ', sizeof(head->signature));
memcpy(head->signature, idstr, MIN(strlen(idstr),
@@ -42,8 +42,8 @@ static size_t generate_vbt(const struct i915_gpu_controller_info *conf,
head->bdb_offset = sizeof (*head);
bdb_head = (struct bdb_header *) (head + 1);
- memset (bdb_head, 0, sizeof (*bdb_head));
- memcpy (bdb_head->signature, "BIOS_DATA_BLOCK ", 16);
+ memset(bdb_head, 0, sizeof (*bdb_head));
+ memcpy(bdb_head->signature, "BIOS_DATA_BLOCK ", 16);
bdb_head->version = 0xa8;
bdb_head->header_size = sizeof (*bdb_head);
@@ -55,7 +55,7 @@ static size_t generate_vbt(const struct i915_gpu_controller_info *conf,
ptr += 3;
genfeat = (struct bdb_general_features *) ptr;
- memset (genfeat, 0, sizeof (*genfeat));
+ memset(genfeat, 0, sizeof (*genfeat));
genfeat->panel_fitting = 3;
genfeat->flexaim = 1;
genfeat->download_ext_vbt = 1;