UPSTREAM: 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: Idf0dc83cec44a59369333d6bb3f44099d533278a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 8fbd953ffb
Original-Change-Id: Idf7723d4fd48124a26bbb626afc310820f859f66
Original-Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/18757
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/454541
This commit is contained in:
parent
1331b9e6b9
commit
2facdfb6c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue