--- zzzz-none-000/linux-4.4.60/drivers/pinctrl/sirf/pinctrl-sirf.c 2017-04-08 07:53:53.000000000 +0000 +++ hawkeye-5590-729/linux-4.4.60/drivers/pinctrl/sirf/pinctrl-sirf.c 2022-03-30 14:21:52.000000000 +0000 @@ -811,7 +811,7 @@ sgpio->chip.gc.of_node = np; sgpio->chip.gc.of_xlate = sirfsoc_gpio_of_xlate; sgpio->chip.gc.of_gpio_n_cells = 2; - sgpio->chip.gc.dev = &pdev->dev; + sgpio->chip.gc.parent = &pdev->dev; sgpio->chip.regs = regs; err = gpiochip_add(&sgpio->chip.gc);