From d8fb362ea0d1ae332d35ef7a62e64a372fe96712 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 9 Mar 2017 10:10:25 -0800 Subject: soc/intel/apollolake: Fix parenthesis issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the following errors and warning detected by checkpatch.pl: ERROR: space required before the open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' ERROR: return is not a function, parentheses are not required WARNING: space prohibited between function name and open parenthesis '(' TEST=Build for reef Change-Id: I31f854adf3269ba6f77c4044fb3748bb1957841c Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18725 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Martin Roth --- src/soc/intel/apollolake/uart_early.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/apollolake/uart_early.c') diff --git a/src/soc/intel/apollolake/uart_early.c b/src/soc/intel/apollolake/uart_early.c index 0e530609bd..173e8a126d 100644 --- a/src/soc/intel/apollolake/uart_early.c +++ b/src/soc/intel/apollolake/uart_early.c @@ -65,7 +65,7 @@ void lpss_console_uart_init(void) uintptr_t uart_platform_base(int idx) { - return (CONFIG_CONSOLE_UART_BASE_ADDRESS); + return CONFIG_CONSOLE_UART_BASE_ADDRESS; } static const struct pad_config uart_gpios[] = { -- cgit v1.2.3