diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-10 13:48:35 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-13 17:09:02 +0100 |
commit | 8fbd953ffb741b74a01818dcb8a3b0aad3602f86 (patch) | |
tree | ec3eddd4ed5eae1d4d8a024a8159d601544ce3ef /src/soc/intel/common/acpi | |
parent | 20727813bb14872788d36426c507f911866c2fcc (diff) |
soc/intel/common: Remove parenthesis
Fix the following error detected by checkpatch.pl:
ERROR: return is not a function, parentheses are not required
TEST=Build and run on Galileo Gen2
Change-Id: Idf7723d4fd48124a26bbb626afc310820f859f66
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18757
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/common/acpi')
-rw-r--r-- | src/soc/intel/common/acpi/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/acpi/acpi.c b/src/soc/intel/common/acpi/acpi.c index 218430fc56..c27362473e 100644 --- a/src/soc/intel/common/acpi/acpi.c +++ b/src/soc/intel/common/acpi/acpi.c @@ -109,7 +109,7 @@ __attribute__((weak)) acpi_tstate_t *soc_get_tss_table(int *entries) __attribute__((weak)) uint16_t soc_get_acpi_base_address(void) { #define ACPI_BASE_ADDR 0x400 - return (ACPI_BASE_ADDR); + return ACPI_BASE_ADDR; } static int calculate_power(int tdp, int p1_ratio, int ratio) |