gpio: add gpio_add_lookup_tables() to add several tables at once
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 15 Aug 2017 04:59:55 +0000 (21:59 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Aug 2017 07:16:35 +0000 (09:16 +0200)
commit3946d18765be0b0fe278bea4f87a54cf13858019
tree4709f78ae2fb3857c7efaf8ef39c7008b667d724
parent33f5dc84680878fb077bd4bcab587e4a5ce228f7
gpio: add gpio_add_lookup_tables() to add several tables at once

When converting legacy board to use gpiod API() there might be several
lookup tables in board file, let's provide a way to register them all at
once.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/linux/gpio/machine.h