--- zzzz-none-000/linux-4.4.271/drivers/gpio/gpio-amd8111.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/drivers/gpio/gpio-amd8111.c 2023-01-11 09:25:41.000000000 +0000 @@ -220,7 +220,7 @@ goto out; } gp.pdev = pdev; - gp.chip.dev = &pdev->dev; + gp.chip.parent = &pdev->dev; spin_lock_init(&gp.lock);