Searched hist:"3 b55d30f6ff2f16c5fd02685bff7639211e6d326" (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | regulator.c | 3b55d30f6ff2f16c5fd02685bff7639211e6d326 Tue Jun 23 21:38:58 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/include/power/ |
| H A D | sandbox_pmic.h | 3b55d30f6ff2f16c5fd02685bff7639211e6d326 Tue Jun 23 21:38:58 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|
| H A D | regulator.h | 3b55d30f6ff2f16c5fd02685bff7639211e6d326 Tue Jun 23 21:38:58 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/drivers/power/regulator/ |
| H A D | regulator-uclass.c | 3b55d30f6ff2f16c5fd02685bff7639211e6d326 Tue Jun 23 21:38:58 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|