test: dm: pinmux: Get LED2 udevice in the pinmux test
authorMarek Vasut <marex@denx.de>
Mon, 25 Apr 2022 16:33:51 +0000 (18:33 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 28 Apr 2022 13:26:44 +0000 (09:26 -0400)
commit891ec35a7a428c0c08c95ed5686bc1cd10e0c4dd
tree04d572f3a51fb61113e2abca81f6c73112a2cb2f
parent876276f5de92cbaa4a55706606451354650cc730
test: dm: pinmux: Get LED2 udevice in the pinmux test

The UT reinitializes the pin controller state, get LED2 udevice
to trigger its probe and configure the pin controller pin state
as it is expected by the test.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Sean Anderson <seanga2@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Steven Lawrance <steven.lawrance@softathome.com>
test/cmd/pinmux.c