]> git.baikalelectronics.ru Git - uboot.git/commit
test: dm: k210: Reduce duplication in test cases
authorSean Anderson <seanga2@gmail.com>
Sat, 11 Sep 2021 17:20:02 +0000 (13:20 -0400)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 7 Oct 2021 08:08:23 +0000 (16:08 +0800)
commit40722d3e6485dde558e6b2d6b713af5925fba6f8
tree34f99dd7d3e4e6918144d59a34fe775a9b784827
parente8cd2106d205fd733c6e5f1dcda37b176c0dc6de
test: dm: k210: Reduce duplication in test cases

Having to copy-paste the same 3 lines makes adding new test cases
error-prone. Use a macro.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
test/dm/k210_pll.c