efi/apple-properties: Handle device properties with software node API
PATCH 1/1 efi/apple-properties: Handle device properties with software node API
The old device property API is going to be removed. Replacing the device_add_properties() call with the software node API equivalent, device_create_managed_software_node().
--- drivers/firmware/efi/apple-properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/efi/apple-properties.c +1 -1
@@ -157,7 +157,7 @@ static int __init unmarshal_devices(struct properties_header *properties)if (!entry[0 ].name) goto skip_device; - ret =device_add_properties (dev, entry);/* makes deep copy */ + ret =device_create_managed_software_node (dev, entry,NULL );if (ret)dev_err (dev,"error %d assigning properties\n" , ret);
Signature · 1 line
2.30.1
Ard Biesheuvel
maintainer(+ Lukas)
Quoted 26 lines · Heikki Krogerus
The old device property API is going to be removed. Replacing the
device_add_properties()call with the software node API equivalent,device_create_managed_software_node().Signed-off-by Heikki Krogerus <[email protected]>--- drivers/firmware/efi/apple-properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/firmware/efi/apple-properties.c +1
-2@@ -157,7 +157,7 @@ static int __init unmarshal_devices(struct properties_header *properties)if (!entry[0 ].name) goto skip_device; - ret =device_add_properties (dev, entry);/* makes deep copy */ + ret =device_create_managed_software_node (dev, entry,NULL );if (ret)dev_err (dev,"error %d assigning properties\n" , ret); --2.30.1
Quoted 5 lines · Heikki Krogerus
The old device property API is going to be removed. Replacing the
device_add_properties()call with the software node API equivalent,device_create_managed_software_node().Signed-off-by Heikki Krogerus <[email protected]>
Ard Biesheuvel
maintainerQuoted 9 lines · Lukas Wunner
Quoted 5 lines · Heikki Krogerus
The old device property API is going to be removed. Replacing the
device_add_properties()call with the software node API equivalent,device_create_managed_software_node().Signed-off-by Heikki Krogerus <[email protected]>Acked-by Lukas Wunner <[email protected]>
Queued in efi/next
Thanks all.