mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
The regulator_autoset() function mixes printf() output and PMIC adjustment code. It provides a boolean to control the output. It is better to avoid missing logic and output, and this permits a smaller SPL code size. So split the output into a separate function. Also rename the function to have a by_name() suffix, since we would like to be able to pass a device when we know it, and thus avoid the name search. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com> |
||
|---|---|---|
| .. | ||
| as3722.h | ||
| battery.h | ||
| fg_battery_cell_params.h | ||
| ltc3676_pmic.h | ||
| max8997_muic.h | ||
| max8997_pmic.h | ||
| max8998_pmic.h | ||
| max17042_fg.h | ||
| max77686_pmic.h | ||
| max77693_fg.h | ||
| max77693_muic.h | ||
| max77693_pmic.h | ||
| pfuze100_pmic.h | ||
| pmic.h | ||
| power_chrg.h | ||
| regulator.h | ||
| sandbox_pmic.h | ||
| tps62362.h | ||
| tps65090_pmic.h | ||
| tps65217.h | ||
| tps65218.h | ||
| tps65910.h | ||