Merge tag 'selinux-pr-20210629' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / drivers / acpi / arm64 / iort.c
index 3912a1f6058e5034f741ab0f01ebd3aea616a971..e34937e11186a0c814bffae2b3007e721e4972cd 100644 (file)
@@ -976,7 +976,7 @@ static void iort_named_component_init(struct device *dev,
                                      FIELD_GET(ACPI_IORT_NC_PASID_BITS,
                                                nc->node_flags));
 
-       if (device_add_properties(dev, props))
+       if (device_create_managed_software_node(dev, props, NULL))
                dev_warn(dev, "Could not add device properties\n");
 }