[U-Boot] [PATCH 1/3] cgtqmx6eval: Fit into a single line

Otavio Salvador otavio at ossystems.com.br
Thu Sep 17 20:13:18 CEST 2015


The printf can be put in a single line of code, so make it
simpler

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 board/congatec/cgtqmx6eval/cgtqmx6eval.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c
index 9aff08d..770bc50 100644
--- a/board/congatec/cgtqmx6eval/cgtqmx6eval.c
+++ b/board/congatec/cgtqmx6eval/cgtqmx6eval.c
@@ -225,8 +225,7 @@ int power_init_board(void)
 
 	for (i = 0; i < ARRAY_SIZE(mipi_levels); i++) {
 		if (!strcmp(mipi_levels[i].name, lv_mipi)) {
-			printf("set MIPI level %s\n",
-			       mipi_levels[i].name);
+			printf("set MIPI level %s\n", mipi_levels[i].name);
 			ret = pmic_reg_write(p, PFUZE100_VGEN4VOL,
 					     mipi_levels[i].value);
 			if (ret)
-- 
2.5.2



More information about the U-Boot mailing list