Searched refs:test_bus (Results 1 – 2 of 2) sorted by relevance
763 struct platform_device *pdev, *test_bus; in of_unittest_platform_populate() local792 test_bus = platform_device_register_full(&test_bus_info); in of_unittest_platform_populate()793 rc = PTR_ERR_OR_ZERO(test_bus); in of_unittest_platform_populate()797 test_bus->dev.of_node = np; in of_unittest_platform_populate()799 of_platform_populate(np, match, NULL, &test_bus->dev); in of_unittest_platform_populate()807 of_platform_depopulate(&test_bus->dev); in of_unittest_platform_populate()815 platform_device_unregister(test_bus); in of_unittest_platform_populate()
236 static int test_bus(struct i2c_adapter *i2c_adap) in test_bus() function630 ret = test_bus(adap); in __i2c_bit_add_bus()