gpiolib: export devprop_gpiochip_set_names()
authorJan Kundrát <jan.kundrat@cesnet.cz>
Thu, 7 Mar 2019 13:30:13 +0000 (14:30 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 24 Mar 2019 03:48:02 +0000 (04:48 +0100)
commit64ebde5b0fdb69fc4061bea0de661421af54f918
tree4f7271c1907a75b24989a8e065850a94f5ad53ee
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
gpiolib: export devprop_gpiochip_set_names()

This function is needed in mcp23s08. That driver is a special snowflake
because it supports several hardware chips as a single "GPIO chip" under
Linux.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Phil Reid <preid@electromag.com.au>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-devprop.c
drivers/gpio/gpiolib.h
include/linux/gpio/driver.h