summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-janz-ttl.c
diff options
context:
space:
mode:
authorAndy Shevchenko2017-05-23 19:03:17 +0200
committerLinus Walleij2017-05-29 11:16:11 +0200
commit9e66504a919439448dfc57052ddf01b96964bdf7 (patch)
tree2fbb77757bc34e4b67f83981d4363a7b2a218d62 /drivers/gpio/gpio-janz-ttl.c
parentgpiolib: Export gpiod_configure_flags() to internal users (diff)
downloadkernel-qcow2-linux-9e66504a919439448dfc57052ddf01b96964bdf7.tar.gz
kernel-qcow2-linux-9e66504a919439448dfc57052ddf01b96964bdf7.tar.xz
kernel-qcow2-linux-9e66504a919439448dfc57052ddf01b96964bdf7.zip
gpio: acpi: Align acpi_find_gpio() with DT version
By some reason acpi_find_gpio() and acpi_gpio_count() have compared connection ID to "gpios" when tries to check if suffix is needed or not. Don't do any assumptions about what connection ID can be and, when defined, use it only with suffix as it's done in the device tree version. Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-janz-ttl.c')
0 files changed, 0 insertions, 0 deletions