u-boot/test/dm
Simon Glass 3b55d30f6f dm: pmic: Split output from function
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>
2015-07-21 17:39:26 -06:00
..
bus.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
cmd_dm.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
core.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
eth.c test: dm: eth: Handle failed test env cleanup 2015-05-21 09:16:17 -04:00
gpio.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
i2c.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
Kconfig test: Move the unit tests to their own menu 2015-05-21 09:16:17 -04:00
Makefile test: dm: Move the dm tests over to the ut command 2015-05-21 09:16:17 -04:00
pci.c dm: pci: Allow PCI bus numbering aliases 2015-06-04 03:34:47 -06:00
pmic.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
regulator.c dm: pmic: Split output from function 2015-07-21 17:39:26 -06:00
rtc.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
sf.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
spi.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-dm.sh test: dm: Move the dm tests over to the ut command 2015-05-21 09:16:17 -04:00
test-driver.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-fdt.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-main.c test: dm: Recover the driver model tree after tests 2015-05-21 09:16:18 -04:00
test-uclass.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
usb.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00