diff options
author | Martin Roth <gaumless@gmail.com> | 2017-04-02 22:25:28 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-07 21:41:19 +0200 |
commit | 9931f66581f18adcbb2f1efd5cec7119e50a0291 (patch) | |
tree | 6a866b2f18d922c9b1e40ebe8d581c0ce4b1c966 /src/mainboard/intel/minnowmax/fadt.c | |
parent | 46cf5c29b3f08c0ddb1893b5c87907304994fcd5 (diff) |
mainboard/intel: Fix checkpatch errors in minnowmax
This fixes the following issues, with no functional changes:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
ERROR:SPACING: space required after that ',' (ctx:VxV)
WARNING:LONG_LINE_COMMENT: line over 80 characters
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
ERROR:FUNCTION_WITHOUT_ARGS: Bad function definition
ERROR:SPACING: space prohibited before that close parenthesis ')'
WARNING:RETURN_VOID: void function return statements are not generally
useful
2 unfixed issues:
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in
parentheses
Verified that the binary was the same before and after the changes.
Change-Id: Ie9afb50e268f4140872e39fe8bede231a43d5cc6
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/19078
Tested-by: build bot (Jenkins)
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: York Yang <york.yang@intel.com>
Diffstat (limited to 'src/mainboard/intel/minnowmax/fadt.c')
-rw-r--r-- | src/mainboard/intel/minnowmax/fadt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/intel/minnowmax/fadt.c b/src/mainboard/intel/minnowmax/fadt.c index 36e4655a32..cd8eefdd67 100644 --- a/src/mainboard/intel/minnowmax/fadt.c +++ b/src/mainboard/intel/minnowmax/fadt.c @@ -17,11 +17,11 @@ #include <arch/acpi.h> #include <soc/acpi.h> -void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt) +void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) { acpi_header_t *header = &(fadt->header); - acpi_fill_in_fadt(fadt,facs,dsdt); + acpi_fill_in_fadt(fadt, facs, dsdt); /* Platform specific customizations go here */ |