mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-17 09:41:37 +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> |
||
|---|---|---|
| .. | ||
| bus.c | ||
| cmd_dm.c | ||
| core.c | ||
| eth.c | ||
| gpio.c | ||
| i2c.c | ||
| Kconfig | ||
| Makefile | ||
| pci.c | ||
| pmic.c | ||
| regulator.c | ||
| rtc.c | ||
| sf.c | ||
| spi.c | ||
| test-dm.sh | ||
| test-driver.c | ||
| test-fdt.c | ||
| test-main.c | ||
| test-uclass.c | ||
| usb.c | ||