--- zzzz-none-000/linux-4.4.271/drivers/platform/x86/intel_pmic_gpio.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/drivers/platform/x86/intel_pmic_gpio.c 2023-01-11 09:25:42.000000000 +0000 @@ -274,11 +274,11 @@ pg->chip.base = pdata->gpio_base; pg->chip.ngpio = NUM_GPIO; pg->chip.can_sleep = 1; - pg->chip.dev = dev; + pg->chip.parent = dev; mutex_init(&pg->buslock); - pg->chip.dev = dev; + pg->chip.parent = dev; retval = gpiochip_add(&pg->chip); if (retval) { pr_err("Can not add pmic gpio chip\n");