test: scmi: add local variables for scmi agent reference
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 8 Mar 2021 21:38:09 +0000 (22:38 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 12 Apr 2021 21:17:11 +0000 (17:17 -0400)
commit3dfd7393709fd310e732b02796167bd012919cb7
treefce2b17e49aa4bae6c6a922e4c043f24105988ce
parentc3bba708da5ec3066bfaaaede8783e891f984a1a
test: scmi: add local variables for scmi agent reference

Add local variables agent0/agent1 to refer to SCMI sandbox context
agent and ease readability of the test.

For consistency, rename regul_dev to regul0_dev and remove sandbox_voltd
in dm_test_scmi_voltage_domains().

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/scmi.c