Searched refs:testdev (Results 1 – 1 of 1) sorted by relevance
245 struct ion_test_device *testdev; in ion_test_probe() local247 testdev = devm_kzalloc(&pdev->dev, sizeof(struct ion_test_device), in ion_test_probe()249 if (!testdev) in ion_test_probe()252 testdev->misc.minor = MISC_DYNAMIC_MINOR; in ion_test_probe()253 testdev->misc.name = "ion-test"; in ion_test_probe()254 testdev->misc.fops = &ion_test_fops; in ion_test_probe()255 testdev->misc.parent = &pdev->dev; in ion_test_probe()256 ret = misc_register(&testdev->misc); in ion_test_probe()262 platform_set_drvdata(pdev, testdev); in ion_test_probe()269 struct ion_test_device *testdev; in ion_test_remove() local[all …]