We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5524339 commit eb501c2Copy full SHA for eb501c2
drivers/iommu/iommufd/selftest.c
@@ -1089,7 +1089,7 @@ int __init iommufd_test_init(void)
1089
err_bus:
1090
bus_unregister(&iommufd_mock_bus_type.bus);
1091
err_platform:
1092
- platform_device_del(selftest_iommu_dev);
+ platform_device_unregister(selftest_iommu_dev);
1093
err_dbgfs:
1094
debugfs_remove_recursive(dbgfs_root);
1095
return rc;
@@ -1102,6 +1102,6 @@ void iommufd_test_exit(void)
1102
&iommufd_mock_bus_type.bus,
1103
&iommufd_mock_bus_type.nb);
1104
1105
1106
1107
}
0 commit comments