[U-Boot] [PATCH 07/10] test: bus: Add a check that dev is not NULL