Merge tag 'mips_5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git] / arch / arm / mach-tegra / board-paz00.c
index b5c990a..18d37f9 100644 (file)
@@ -36,7 +36,7 @@ static struct gpiod_lookup_table wifi_gpio_lookup = {
 
 void __init tegra_paz00_wifikill_init(void)
 {
-       platform_device_add_properties(&wifi_rfkill_device, wifi_rfkill_prop);
+       device_create_managed_software_node(&wifi_rfkill_device.dev, wifi_rfkill_prop, NULL);
        gpiod_add_lookup_table(&wifi_gpio_lookup);
        platform_device_register(&wifi_rfkill_device);
 }