gpio: renesas: Migrate to pinctrl GPIO accessors
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 21 Apr 2019 20:46:25 +0000 (22:46 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 4 May 2019 17:26:49 +0000 (19:26 +0200)
commitfbf26bea3964735604f1621288a63b23daf48cea
tree5ae388d0964ce7eaeb2d698a682cabcbab1f23a2
parent89ba7c5a8cf3cdef34f5acef4184f35e63439759
gpio: renesas: Migrate to pinctrl GPIO accessors

Switch to generic pin controller API for configuring pins as GPIOs
instead of using the ad-hoc call into the R-Car PFC driver. Moreover,
add .free() implementation for the GPIO controller.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Cc: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Cc: Eugeniu Rosca <roscaeugeniu@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick DELAUNAY <patrick.delaunay@st.com>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Cc: Simon Glass <sjg@chromium.org>
drivers/gpio/gpio-rcar.c