Skip to content
Snippets Groups Projects
Commit f5cf9e65 authored by Otavio Salvador's avatar Otavio Salvador Committed by Stefano Babic
Browse files

cgtqmx6eval: Fit into a single line


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

Signed-off-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
parent 5614bc7b
Branches
Tags
No related merge requests found
...@@ -212,8 +212,7 @@ int power_init_board(void) ...@@ -212,8 +212,7 @@ int power_init_board(void)
for (i = 0; i < ARRAY_SIZE(mipi_levels); i++) { for (i = 0; i < ARRAY_SIZE(mipi_levels); i++) {
if (!strcmp(mipi_levels[i].name, lv_mipi)) { if (!strcmp(mipi_levels[i].name, lv_mipi)) {
printf("set MIPI level %s\n", printf("set MIPI level %s\n", mipi_levels[i].name);
mipi_levels[i].name);
ret = pmic_reg_write(p, PFUZE100_VGEN4VOL, ret = pmic_reg_write(p, PFUZE100_VGEN4VOL,
mipi_levels[i].value); mipi_levels[i].value);
if (ret) if (ret)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment