diff options
| author | Simon Glass <[email protected]> | 2015-06-23 15:38:58 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2015-07-21 17:39:26 -0600 |
| commit | 3b55d30f6ff2f16c5fd02685bff7639211e6d326 (patch) | |
| tree | ad95bf1feedf12bfb96ab33b0b60db70a0159ed7 /scripts/Makefile.spl | |
| parent | 7837ceab1ef8d4a88fb218bfa6b042b0b865b15f (diff) | |
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 <[email protected]>
Tested-by: Przemyslaw Marczak <[email protected]>
Acked-by: Przemyslaw Marczak <[email protected]>
Diffstat (limited to 'scripts/Makefile.spl')
0 files changed, 0 insertions, 0 deletions
