Searched refs:region_pdev (Results 1 – 1 of 1) sorted by relevance
33 struct platform_device *region_pdev; member94 region = fpga_region_class_find(NULL, &ctx->region_pdev->dev, fake_region_match); in fpga_region_test_class_find()168 ctx->region_pdev = platform_device_register_simple("region_pdev", PLATFORM_DEVID_AUTO, in fpga_region_test_init()170 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ctx->region_pdev); in fpga_region_test_init()176 ctx->region = fpga_region_register_full(&ctx->region_pdev->dev, ®ion_info); in fpga_region_test_init()189 platform_device_unregister(ctx->region_pdev); in fpga_region_test_exit()