[PATCH 3/4] test: dm: k210: Reduce duplication in test cases

Simon Glass sjg at chromium.org
Sat Jul 31 18:59:31 CEST 2021


On Mon, 26 Jul 2021 at 21:51, Sean Anderson <seanga2 at gmail.com> wrote:
>
> Having to copy-paste the same 3 lines makes adding new test cases
> error-prone. Use a macro.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
>  test/dm/k210_pll.c | 30 ++++++++++++------------------
>  1 file changed, 12 insertions(+), 18 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list