test: dm: pci: Remove unnecessary steps in dm_test_pci_swapcase()
authorBin Meng <bmeng.cn@gmail.com>
Fri, 3 Aug 2018 08:14:38 +0000 (01:14 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Aug 2018 11:49:31 +0000 (12:49 +0100)
commitdd4808f9fab54b94df76447b7a7f383cd1b2f5d0
tree21d6720cffd7bf7137dce19ed812aaa406fdb51c
parent64e45f73bd0aa9d8a1069587540bc91fe45b62e0
test: dm: pci: Remove unnecessary steps in dm_test_pci_swapcase()

The check on uclass_get_device() and device_active() is unnecessary
as the follow-up test operations will implicitly probe the driver.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/pci.c