]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - drivers/gpio/gpiolib-of.c
Merge tag 'gpio-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[thirdparty/linux.git] / drivers / gpio / gpiolib-of.c
index 53a14ee8ad6d364788a891d4f2aa083956df5f04..a4f1157d6aa0893707d3880c9f0be4639c909b03 100644 (file)
@@ -621,9 +621,6 @@ int of_gpiochip_add(struct gpio_chip *chip)
 {
        int status;
 
-       if ((!chip->of_node) && (chip->parent))
-               chip->of_node = chip->parent->of_node;
-
        if (!chip->of_node)
                return 0;