mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 05:04:23 +08:00
cgtqmx6eval: Fit into a single line
The printf can be put in a single line of code, so make it simpler Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
5614bc7b0c
commit
f5cf9e655c
@ -212,8 +212,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)
|
||||
|
Loading…
Reference in New Issue
Block a user