mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
pinctrl: nsp-gpio: fix up parent attribute
The .dev field has been renamed .parent in the GPIO tree. Fix it up. Cc: Yendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
adfd7cb60a
commit
01821412ee
1 changed files with 1 additions and 1 deletions
|
|
@ -668,7 +668,7 @@ static int nsp_gpio_probe(struct platform_device *pdev)
|
|||
gc->can_sleep = false;
|
||||
gc->ngpio = val;
|
||||
gc->label = dev_name(dev);
|
||||
gc->dev = dev;
|
||||
gc->parent = dev;
|
||||
gc->of_node = dev->of_node;
|
||||
gc->request = nsp_gpio_request;
|
||||
gc->free = nsp_gpio_free;
|
||||
|
|
|
|||
Loading…
Reference in a new issue