]> asedeno.scripts.mit.edu Git - linux.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)
commitb0c7e73b51dcdc8980a245f89278815ce1837d06
treea6d81bc5c9dc08ffdf6dae492b0322cf727d3e91
parentc83d3c77332e264ec77ceced614fe9630c7bfaad
gpio: of: Make of_gpio_simple_xlate() private

Since commit 9a95e8d25a140ba9 ("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