gpio: of: Check for "spi-cs-high" in child instead of parent node
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 26 Mar 2019 06:32:09 +0000 (23:32 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Mar 2019 16:10:20 +0000 (17:10 +0100)
commit7ce40277bf848391705011ba37eac2e377cbd9e6
treefa23231ecd7b8917dd94fbd60d89c5f73da95ad2
parente5545c94e43b8f6599ffc01df8d1aedf18ee912a
gpio: of: Check for "spi-cs-high" in child instead of parent node

"spi-cs-high" is going to be specified in child node of an SPI
controller's representing attached SPI device, so change the code to
look for it there, instead of checking parent node.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c