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)
commit6e23c9f0c1ebe9b93077b6901733cd01d3848208
tree34f99dd7d3e4e6918144d59a34fe775a9b784827
parent49708749701d957dacb2b01ea3d71e457804f7eb
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