--- zzzz-none-000/linux-4.4.271/drivers/gpio/gpio-generic.c 2021-06-03 06:22:09.000000000 +0000 +++ maple-fsgw-759/linux-4.4.271/drivers/gpio/gpio-generic.c 2023-12-20 10:37:08.000000000 +0000 @@ -545,7 +545,7 @@ return -EINVAL; spin_lock_init(&bgc->lock); - bgc->gc.dev = dev; + bgc->gc.parent = dev; bgc->gc.label = dev_name(dev); bgc->gc.base = -1; bgc->gc.ngpio = bgc->bits;