]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: test: bus: Use a local variable to simplify code
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:21:51 +0000 (12:21 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:52 +0000 (21:47 +0200)
commit9f00aeeb9cd72b8778e81c16dec0107446700faa
tree962af92e65676ad53c75e56dc827e9e039c7fedb
parent61ed5f5c74283cf36618f71d2eff270f659b4d6c
dm: test: bus: Use a local variable to simplify code

Adjust this test to avoid repeating the same code too often.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
test/dm/bus.c