--- zzzz-none-000/linux-4.4.271/drivers/pinctrl/sirf/pinctrl-atlas7.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/drivers/pinctrl/sirf/pinctrl-atlas7.c 2023-01-11 09:25:42.000000000 +0000 @@ -6012,7 +6012,7 @@ chip->label = kstrdup(np->name, GFP_KERNEL); chip->of_node = np; chip->of_gpio_n_cells = 2; - chip->dev = &pdev->dev; + chip->parent = &pdev->dev; /* Add gpio chip to system */ ret = gpiochip_add(chip);