]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: of: Make of_gpio_simple_xlate() private
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 6 Sep 2019 08:45:37 +0000 (10:45 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Sep 2019 13:46:02 +0000 (14:46 +0100)
commitbb50ce6319bcac375842e2ea493e87c2def1a4ad
treea6d81bc5c9dc08ffdf6dae492b0322cf727d3e91
parent4c92bd5ca954005db1e1472c3bf2cb1dcfc12f3c
gpio: of: Make of_gpio_simple_xlate() private

Since commit 149439bd13ff6946 ("gpio: remove etraxfs driver"), there are
no more users of of_gpio_simple_xlate() outside gpiolib-of.c.
All GPIO drivers that need it now rely on of_gpiochip_add() setting it
up as the default translate function.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20190906084539.21838-3-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c
include/linux/of_gpio.h