Skip to content

Commit 6d6e03d

Browse files
Heikki Krogerusgregkh
authored andcommitted
ARM: tegra: paz00: 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(). Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3b35f2a commit 6d6e03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-tegra/board-paz00.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static struct gpiod_lookup_table wifi_gpio_lookup = {
3636

3737
void __init tegra_paz00_wifikill_init(void)
3838
{
39-
platform_device_add_properties(&wifi_rfkill_device, wifi_rfkill_prop);
39+
device_create_managed_software_node(&wifi_rfkill_device.dev, wifi_rfkill_prop, NULL);
4040
gpiod_add_lookup_table(&wifi_gpio_lookup);
4141
platform_device_register(&wifi_rfkill_device);
4242
}

0 commit comments

Comments
 (0)